/[gli]/branches/overhaul/src/fe/gtk/KernelConfig.py
Gentoo

Diff of /branches/overhaul/src/fe/gtk/KernelConfig.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1743 Revision 1744
16 radio_configs = {} 16 radio_configs = {}
17 _helptext = """ 17 _helptext = """
18<b><u>Kernel Configuration</u></b> 18<b><u>Kernel Configuration</u></b>
19 19
20There are a few different ways you can configure your new kernel. The easiest \ 20There are a few different ways you can configure your new kernel. The easiest \
21method is to just use the default configuration for your kernel. This option \ 21method is to just use the default configuration for your kernel. The other \
22is only available if you're using gentoo-sources. The other options are to \
23configure the kernel yourself using the kernel's menuconfig process or to \ 22options are to configure the kernel yourself using the kernel's menuconfig process \
24specify a URI pointing to a pre-made kernel .config file. 23or to specify a URI pointing to a pre-made kernel .config file.
25 24
26These options are only available in Advanced mode. 25These options are only available in Advanced mode.
27""" 26"""
28 27
29 def __init__(self, controller): 28 def __init__(self, controller):
103 if kernel_config_uri: 102 if kernel_config_uri:
104 if kernel_config_uri == "file://%s/usr/src/linux/.config" % self.controller.install_profile.get_root_mount_point(): 103 if kernel_config_uri == "file://%s/usr/src/linux/.config" % self.controller.install_profile.get_root_mount_point():
105 self.radio_configs['menuconfig'].set_active(True) 104 self.radio_configs['menuconfig'].set_active(True)
106 else: 105 else:
107 self.entry_kernel_config_uri.set_text(kernel_config_uri) 106 self.entry_kernel_config_uri.set_text(kernel_config_uri)
108 if self.controller.install_profile.get_kernel_source_pkg() != "gentoo-sources": 107# if self.controller.install_profile.get_kernel_source_pkg() != "gentoo-sources":
109 self.radio_configs['auto'].set_sensitive(False) 108# self.radio_configs['auto'].set_sensitive(False)
110 self.radio_configs['menuconfig'].set_active(True) 109# self.radio_configs['menuconfig'].set_active(True)
111 110
112 def next(self): 111 def next(self):
113 self.controller.install_profile.set_kernel_build_method(None, "genkernel", None) 112 self.controller.install_profile.set_kernel_build_method(None, "genkernel", None)
114 if self.controller.install_type != "standard": 113 if self.controller.install_type != "standard":
115 if self.active_selection == "configuri": 114 if self.active_selection == "configuri":

Legend:
Removed from v.1743  
changed lines
  Added in v.1744

  ViewVC Help
Powered by ViewVC 1.1.20