116. Kernel

Kernel related functions and data

116.1. Authors

  • Klaus Kaempf <kkaempf@suse.de>

  • Arvin Schnell <arvin@suse.de>

116.2. Summary of Module Globals

List of Global Functions

List of Global Variables

    116.3. Global Functions

    116.3.1. AddCmdLine

    AddCmdLine ()

    Function parameters

    • string name

    • string arg

    Return value

    • void

    See also:

    • cmdLine

    116.3.2. AddModuleToLoad

    Add a kernel module to the list of modules to load after boot

    Function parameters

    • string name

    Return value

    • void

    116.3.3. ComputePackage

    Compute kernel package

    Return value

    • string - selected kernel

    116.3.4. ComputePackages

    Compute kernel packages

    Return value

    • list <string> - of selected kernel packages

    116.3.5. ComputePackagesForBase

    Compute kernel package for the specified base kernel package

    Function parameters

    • string base

    • boolean check_avail

    Return value

    • list<string> - a list of all kernel packages (including the base package) that are to be installed together with the base package

    116.3.6. GetBinary

    Het the name of kernel binary under /boot

    Return value

    • string - the name of the kernel binary

    116.3.7. GetCmdLine

    Get the kernel command line

    Return value

    • string - the command line

    116.3.8. GetInformAboutKernelChange

    Get inform_about_kernel_change.

    Return value

    • boolean

    116.3.9. GetPackages

    Get the list of kernel packages

    Return value

    • list<string> - a list of kernel packages

    116.3.10. GetSuSEUpdate

    Check if suse_update kernel command line argument was passed

    Return value

    • boolean - true if it was

    116.3.11. GetVgaType

    Get the vga= kernel parameter

    Return value

    • string - the vga= kernel parameter

    116.3.12. ProbeKernel

    select kernel depending on architecture and system type.

    Return value

    • void

    116.3.13. RemoveModuleToLoad

    Remove a kernel module from the list of modules to load after boot

    Function parameters

    • string name

    Return value

    • void

    116.3.14. SaveModulesToLoad

    SaveModuleToLoad () save the sysconfig variable to the file

    Return value

    • boolean - true on success

    116.3.15. SetCmdLine

    Set the kernel command line FIXME is heer because of bootloader module, should be removed

    Function parameters

    • string new_cmd_line

    Return value

    • void

    116.3.16. SetInformAboutKernelChange

    Set inform_about_kernel_change.

    Function parameters

    • boolean b

    Return value

    • void

    116.3.17. SetVgaType

    Set the vga= kernel argument FIXME is heer because of bootloader module, should be removed

    Function parameters

    • string new_vga

    Return value

    • void

    116.4. Global Variables

    116.5. Module Requirements

    116.5.1. Module Imports

    • Arch
    • Linuxrc
    • Mode
    • Stage

    116.5.2. Module Includes