113. Kernel

Kernel related functions and data

113.1. Summary of Module Globals

List of Global Functions

List of Global Variables

    113.2. Global Functions

    113.2.1. AddCmdLine

    AddCmdLine ()

    Function parameters

    • string name

    • string arg

    Return value

    • void

    113.2.2. AddModuleToLoad

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

    Function parameters

    • string name

    Return value

    • void

    113.2.3. ComputePackage

    Compute kernel package

    Return value

    • string - selected kernel

    113.2.4. ComputePackages

    Compute kernel packages

    Return value

    • list <string> - of selected kernel packages

    113.2.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

    113.2.6. GetBinary

    Het the name of kernel binary under /boot

    Return value

    • string - the name of the kernel binary

    113.2.7. GetCmdLine

    Get the kernel command line

    Return value

    • string - the command line

    113.2.8. GetInformAboutKernelChange

    Get inform_about_kernel_change.

    Return value

    • boolean

    113.2.9. GetPackages

    Get the list of kernel packages

    Return value

    • list<string> - a list of kernel packages

    113.2.10. GetSuSEUpdate

    Check if suse_update kernel command line argument was passed

    Return value

    • boolean - true if it was

    113.2.11. GetVgaType

    Get the vga= kernel parameter

    Return value

    • string - the vga= kernel parameter

    113.2.12. ProbeKernel

    select kernel depending on architecture and system type.

    Return value

    • void

    113.2.13. RemoveModuleToLoad

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

    Function parameters

    • string name

    Return value

    • void

    113.2.14. SaveModulesToLoad

    SaveModuleToLoad () save the sysconfig variable to the file

    Return value

    • boolean - true on success

    113.2.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

    113.2.16. SetInformAboutKernelChange

    Set inform_about_kernel_change.

    Function parameters

    • boolean b

    Return value

    • void

    113.2.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

    113.3. Global Variables

    113.4. Module Requirements

    113.4.1. Module Imports

    • Arch
    • Linuxrc
    • Mode
    • Stage

    113.4.2. Module Includes