diff options
| author | Chris Lumens <clumens@redhat.com> | 2009-10-26 14:56:14 -0400 |
|---|---|---|
| committer | Chris Lumens <clumens@redhat.com> | 2009-10-27 09:57:31 -0400 |
| commit | 7343be1d34037df907884656018ffee4ff2f56c0 (patch) | |
| tree | dff7842fc23cf08c3e1b972b467da4cdcc8c84a9 /installclasses | |
| parent | c1b82324ccb496b65d2e8a54c260cad89b95ccd1 (diff) | |
| download | anaconda-7343be1d34037df907884656018ffee4ff2f56c0.tar.gz anaconda-7343be1d34037df907884656018ffee4ff2f56c0.tar.xz anaconda-7343be1d34037df907884656018ffee4ff2f56c0.zip | |
Provide a single checkbox for a minimal install (#523839).
This patch allows the user to select "Minimal" from the task list and get
just a bare minimum of packages. Note that the first task to have all its
groups selected by default will be the only one selected in the task list.
Diffstat (limited to 'installclasses')
| -rw-r--r-- | installclasses/fedora.py | 25 | ||||
| -rw-r--r-- | installclasses/rhel.py | 7 |
2 files changed, 23 insertions, 9 deletions
diff --git a/installclasses/fedora.py b/installclasses/fedora.py index 009fa7a5a..c3143395d 100644 --- a/installclasses/fedora.py +++ b/installclasses/fedora.py @@ -38,17 +38,30 @@ class InstallClass(BaseInstallClass): id = "fedora" name = N_("_Fedora") _description = N_("The default installation of %s includes a set of " - "software applicable for general internet usage. " - "What additional tasks would you like your system " - "to include support for?") + "software applicable for general internet usage. " + "You can optionally select a different set of software " + "now.") _descriptionFields = (productName,) sortPriority = 10000 if productName.startswith("Red Hat Enterprise"): hidden = 1 - tasks = [(N_("Office and Productivity"), ["graphics", "office"]), - (N_("Software Development"), ["development-libs", "development-tools", "gnome-software-development", "x-software-development"],), - (N_("Web Server"), ["web-server"])] + tasks = [(N_("Graphical Desktop"), + ["admin-tools", "base", "base-x", "core", "editors", "fonts", + "games", "gnome-desktop", "graphical-internet", "graphics", + "hardware-support", "input-methods", "java", "office", + "printing", "sound-and-video", "text-internet"]), + (N_("Software Development"), + ["base", "base-x", "core", "development-libs", + "development-tools", "editors", "fonts", "gnome-desktop", + "gnome-software-development", "graphical-internet", "graphics", + "hardware-support", "input-methods", "java", "text-internet", + "x-software-development"]), + (N_("Web Server"), + ["admin-tools", "base", "base-x", "core", "editors", + "gnome-desktop", "graphical-internet", "hardware-support", + "java", "text-internet", "web-server"]), + (N_("Minimal"), ["core"])] bugFiler = BugzillaFiler("https://bugzilla.redhat.com/xmlrpc.cgi", "https://bugzilla.redhat.com/", diff --git a/installclasses/rhel.py b/installclasses/rhel.py index ddeaae468..e883b89e7 100644 --- a/installclasses/rhel.py +++ b/installclasses/rhel.py @@ -39,14 +39,15 @@ class InstallClass(BaseInstallClass): id = "rhel" name = N_("Red Hat Enterprise Linux") _description = N_("The default installation of %s is a minimal install. " - "What additional tasks would you like your system " - "to include support for?") + "You can optionally select a different set of software " + "now.") _descriptionFields = (productName,) sortPriority = 10000 if not productName.startswith("Red Hat Enterprise"): hidden = 1 - tasks = [(N_("Desktop"), + tasks = [(N_("Minimal"), ["core"]), + (N_("Desktop"), ["backup-client", "base", "compat-libraries", "console-internet", "debugging", "directory-client", "firmware", "fonts", "legacy-unix", "core", "network-file-system-client", |
