BaseSystemConfiguration

Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2005-10-31 18:12:31
Size: 1165
Editor: 187_220_103_66-WIFI_HOTSPOTS
Comment: Added Page for Ubuntu Express Specification
Revision 3 as of 2005-11-02 20:19:08
Size: 2841
Editor: 209
Comment: some drafting
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 * '''Contributors''': Fabianx
 * '''Packages affected''':
 * '''Contributors''': Fabianx, ColinWatson, LaMontJones, StephanHermann, AndrewMitchell
 * '''Packages affected''': ubuntu-express, apt-setup, keymapper, cdebconf, kbd-chooser
Line 10: Line 10:
The Ubuntu Express Installer needs to configure the base system, to create a user and set a password. The ubuntu-installer already contains code to configure the base system, which we can reuse; in particular, OEMInstaller specifies a new firstboot component which can reconfigure just some parts of an installed system. The requirements of this component are very similar, so they should share code. The Ubuntu Express Installer needs to configure the base system, to create a user and set a password. The Ubuntu installer already contains code to configure the base system, which we can reuse under the oem-config framework.
Line 14: Line 14:
Possible things this component has to do: The base system configuration component(s) of UbuntuExpress needs to perform the following tasks (in cooperation with user interface code for each of GNOME and KDE):
Line 16: Line 16:
1. Create User/Password.
2. Possibly get language/i18n/timezone out of debconf (see UbuntuExpress/CopyFileSystem)
 * select language
 * select country
 * select timezone
 * select keymap
 * select username/password
 * select hostname
 * configure apt
Line 21: Line 26:
1. Users want to have their own username and password.
2. Users want the system in their language.
 0. Users want to have their own username and password.
 0. Users want the system in their language.
Line 27: Line 32:

In the GNOME user interface (see UbuntuExpress/GnomeUserInterface), we can borrow a city map widget from Evolution to choose a city for the timezone. This implies the country, and gives us a good guess for the language, in conjunction with the bootloader language.

For keymap configuration, we will factor out the "select keymap based on pressing keys" widget from our existing installer (it is already quite cleanly separated) and add appropriate user interface code to it. We will select the keymap default based on that configured in the live CD.
Line 37: Line 46:

{{{
Guadalinex implementation already has username/password/hostname, just need some polish; some user interface debate about whether the hostname ought to be asked at all in a desktop install.

apt configuration:
 - need to regenerate by default so that we get local CC.archive.ubuntu.com mirrors
 - must honour customisations and not overwrite
  - ... including customisations made to the live CD filesystem before the user boots
 - nevertheless, may be useful for casper to use the new apt-setup udebs to generate a sample apt configuration as the live CD starts up, provided that the customiser doesn't forbid it from doing so (using some yet-to-be-invented mechanism)

how to get pieces only available as udebs? (unpack udebs somehow, or generate debs from each relevant source package)
 - in this case, the only things we care about are (I think) apt-setup and the keyboard configuration bits; apt-setup wants to generate a deb eventually anyway, and I can cope with building some for keymapper etc.
}}}

Summary

The Ubuntu Express Installer needs to configure the base system, to create a user and set a password. The Ubuntu installer already contains code to configure the base system, which we can reuse under the oem-config framework.

Rationale

The base system configuration component(s) of UbuntuExpress needs to perform the following tasks (in cooperation with user interface code for each of GNOME and KDE):

  • select language
  • select country
  • select timezone
  • select keymap
  • select username/password
  • select hostname
  • configure apt

Use cases

  1. Users want to have their own username and password.
  2. Users want the system in their language.

Scope

Design

In the GNOME user interface (see UbuntuExpress/GnomeUserInterface), we can borrow a city map widget from Evolution to choose a city for the timezone. This implies the country, and gives us a good guess for the language, in conjunction with the bootloader language.

For keymap configuration, we will factor out the "select keymap based on pressing keys" widget from our existing installer (it is already quite cleanly separated) and add appropriate user interface code to it. We will select the keymap default based on that configured in the live CD.

Implementation

Code

Data preservation and migration

Outstanding issues

BoF agenda and discussion

Guadalinex implementation already has username/password/hostname, just need some polish; some user interface debate about whether the hostname ought to be asked at all in a desktop install.

apt configuration:
 - need to regenerate by default so that we get local CC.archive.ubuntu.com mirrors
 - must honour customisations and not overwrite
  - ... including customisations made to the live CD filesystem before the user boots
 - nevertheless, may be useful for casper to use the new apt-setup udebs to generate a sample apt configuration as the live CD starts up, provided that the customiser doesn't forbid it from doing so (using some yet-to-be-invented mechanism)

how to get pieces only available as udebs? (unpack udebs somehow, or generate debs from each relevant source package)
 - in this case, the only things we care about are (I think) apt-setup and the keyboard configuration bits; apt-setup wants to generate a deb eventually anyway, and I can cope with building some for keymapper etc.

UbuntuExpress/BaseSystemConfiguration (last edited 2008-08-06 16:36:22 by localhost)