Installation |
modules/Kernel.ycp |
Kernel related functions and data |
|
|
- determine kernel rpm
- determine flags
- determine hard reboot
Imports
Global Variables
Global Functions
Local Variables
Local Functions
|
|
|
local kernel_modules_to_load -> list<map<string,string> >
|
|
List of changes in /etc/sysconfig/kernel:MODULES_LOADED_ON_BOOT
Needs to be stored as a list of changes due to the fact that some RPMs
change the variable during installation
list member is a map with keys "operation" (value "add" or "detete") and
"name" (name of the module)
global switched -> boolean
|
|
- Return value:
|
switched If the kernel was switched during
installation (e.g. from k_deftl to k_smp)
(Determines hard boot vs. warm boot).
nonsense: We always do a hard reboot since
ages during installation. The variables is
used in sw_single and inst_suseconfig.
FIXME: That must be cleaned up! |
- Return value:
|
binary determines the name of the kernel binary
below '/boot'. |
- Return value:
|
the kernel command line
Don't write it directly, @see: AddCmdLine() |
- Return value:
|
strign the kernel vga paramter |
global kernel_packages -> list<string>
|
|
- Return value:
|
kernel_packages a list kernels to be installed. |
global dependant_packages -> list<string>
|
|
- Return value:
|
dependant_packages a list of packages dependant on the kernel to be installed. |
global suse_update -> boolean
|
|
- Return value:
|
if "suse_update" given in cmdline |
global fallbacks -> map<string, string>
|
|
- Return value:
Hide passwords in command line option string
- Parameters:
- Return value:
global AddCmdLine (string name, string arg) -> void
|
|
AddCmdLine ()
- Parameters:
local ExtractCmdlineParameters (string line) -> void
|
|
- Parameters:
- Return value:
|
Filters out yast2 specific boot parameters and sets
Parameters to the important cmdline parts. |
global ProbeKernel () -> void
|
|
select kernel depending on architecture and system type.
Constructor
extract relevant settings from Cmdline in install.inf
AddModuleToLoad ()
- Parameters:
string |
module name
add the module name to sysconfig variable |
SaveModulesToLoad ()
save the sysconfig variable to the file
- Return value:
|