Unknown YCP Module |
This module has an unstable interface. |
File: modules/Kernel.ycp
Package: Installation
Summary: Kernel related functions and data
Authors: Klaus Kaempf
$Id$
the name of the kernel binary below '/boot'.
a list kernels to be installed.
the final kernel to be installed after verification and availability checking
string the kernel vga paramter
if "suse_update" given in cmdline
string the kernel command line Don't write it directly, @see: AddCmdLine()
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)
A flag to indicate if a popup informing about the kernel change should be displayed
fallback map for kernel
Hide passwords in command line option string
- Parameters:
-
in input string
- Return value:
-
outpit string
AddCmdLine ()
- Parameters:
-
name arg
- See
-
cmdLine
- Parameters:
-
line
- Return value:
-
Filters out yast2 specific boot parameters and sets Parameters to the important cmdline parts.
Parse installation kernel commad line got from install.inf
Get the vga= kernel parameter
- Return value:
-
the vga= kernel parameter
Set the vga= kernel argument FIXME is heer because of bootloader module, should be removed
- Parameters:
-
new_vga
Check if suse_update kernel command line argument was passed
- Return value:
-
true if it was
Get the kernel command line
- Return value:
-
the command line
Set the kernel command line FIXME is heer because of bootloader module, should be removed
- Parameters:
-
new_cmd_line
select kernel depending on architecture and system type.
Het the name of kernel binary under /boot
- Return value:
-
the name of the kernel binary
Get the list of kernel packages
- Return value:
-
a list of kernel packages
Compute kernel package
- Return value:
-
selected kernel
Compute kernel package for the specified base kernel package
- Parameters:
-
base string the base kernel package name (eg. kernel-default) check_avail boolean if true, additional packages are checked for for being available on the medias before adding to the list
- Return value:
-
a list of all kernel packages (including the base package) that are to be installed together with the base package
Compute kernel packages
- Return value:
-
of selected kernel packages
Add a kernel module to the list of modules to load after boot
- Parameters:
-
name
Remove a kernel module from the list of modules to load after boot
- Parameters:
-
name string the name of the module
SaveModuleToLoad () save the sysconfig variable to the file
- Return value:
-
true on success
Set inform_about_kernel_change.
- Parameters:
-
b
Get inform_about_kernel_change.
Display popup about new kernel that was installed