diff options
author | 2007-11-19 04:45:33 +0000 | |
---|---|---|
committer | 2007-11-19 04:45:33 +0000 | |
commit | ac4ad57cab13cb3a2d9af01f300f936f129b89ac (patch) | |
tree | 60bf1d45e701aa4b9abca6ac96b4c5c71ed8e428 | |
parent | pre-create conf.d/xdm (diff) | |
download | gli-ac4ad57cab13cb3a2d9af01f300f936f129b89ac.tar.gz gli-ac4ad57cab13cb3a2d9af01f300f936f129b89ac.tar.bz2 gli-ac4ad57cab13cb3a2d9af01f300f936f129b89ac.zip |
attempting to throw in kernpkgs support. will see how this goes.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/gli/trunk@1874 f8877401-5920-0410-a79b-8e2d7e04ca0d
-rwxr-xr-x | src/fe/dialog/gli-dialog.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/fe/dialog/gli-dialog.py b/src/fe/dialog/gli-dialog.py index c99b0c9..d0b4898 100755 --- a/src/fe/dialog/gli-dialog.py +++ b/src/fe/dialog/gli-dialog.py @@ -1493,13 +1493,18 @@ Press OK to continue""") else: install_packages = [] package_list = self._install_profile.get_install_package_list() + #Add kernel packages to the list + package_list['Kernel-related Packages'] = (_(u"External kernel modules for additional hardware support"), GLIUtility.get_kernpkgs_from_cd()) highlevel_menu = [] for group in package_list: highlevel_menu.append( (group, package_list[group][0]) ) - highlevel_menu.append( (_(u"Manual"), "Type your own space-separated list of packages.") ) + + #Disable manual if networkless. They can't type their own packages. + if not self.networkless: + highlevel_menu.append( (_(u"Manual"), "Type your own space-separated list of packages.") ) while 1: - extra_string1 = _(u"There are thousands of applications available to Gentoo users through Portage, Gentoo's package management system. Select some of the more common ones below or add your own additional package list by choosing 'Manual'.") + extra_string1 = _(u"There are thousands of applications available to Gentoo users through Portage, Gentoo's package management system. Select some of the more common ones below to get your system bootable and then install the rest after you boot into your new system.") code, submenu = self._d.menu(extra_string1+ _(u"\nYour current package list is: ")+string.join(install_packages, ','), choices=highlevel_menu, cancel=_(u"Save and Continue"), width=70, height=23) if code != self._DLG_OK: #Save and move on. try: |