31. BootLILO

Module containing specific functions for LILO configuration and installation

31.1. Summary of Module Globals

List of Global Functions

  • BootLILO - Constructor

  • CreateGlobals - Propose global options of bootloader modifies internal structures

  • CreateSections - Propose sections to bootloader menu modifies internal sreuctures

  • FlagOnetimeBoot - Set section to boot on next reboot

  • GetFunctions - Return map of provided functions

  • Initializer - Initializer of LILO bootloader

  • Propose - Propose bootloader settings

  • Read - Read settings from disk

  • Save - Save all bootloader configuration files to the cache of the PlugLib PlugLib must be initialized properly !!!

  • Update - Update read settings to new version of configuration files

  • Write - Write bootloader settings to disk

List of Global Variables

    31.2. Global Functions

    31.2.1. BootLILO

    Constructor

    Return value

    • void

    31.2.2. CreateGlobals

    Propose global options of bootloader modifies internal structures

    Return value

    • void

    31.2.3. CreateSections

    Propose sections to bootloader menu modifies internal sreuctures

    Return value

    • void

    31.2.4. FlagOnetimeBoot

    Set section to boot on next reboot

    Function parameters

    • string section

    Return value

    • boolean - true on success

    31.2.5. GetFunctions

    Return map of provided functions

    Return value

    • map<string, any> - a map of functions (eg. $["write":BootLILO::Write])

    31.2.6. Initializer

    Initializer of LILO bootloader

    Return value

    • void

    31.2.7. Propose

    Propose bootloader settings

    Return value

    • void

    31.2.8. Read

    Read settings from disk

    Function parameters

    • boolean reread

    • boolean avoid_reading_device_map

    Return value

    • boolean - true on success

    31.2.9. Save

    Save all bootloader configuration files to the cache of the PlugLib PlugLib must be initialized properly !!!

    Function parameters

    • boolean clean

    • boolean init

    • boolean flush

    Return value

    • boolean - true if success

    31.2.10. Update

    Update read settings to new version of configuration files

    Return value

    • void

    31.2.11. Write

    Write bootloader settings to disk

    Return value

    • boolean - true on success

    31.3. Global Variables

    31.4. Module Requirements

    31.4.1. Module Imports

    • Arch
    • BootCommon
    • Kernel
    • Mode
    • Pkg
    • Storage

    31.4.2. Module Includes

    • bootloader/generic/dialogs.ycp
    • bootloader/routines/dialogs_i386.ycp
    • bootloader/routines/popups.ycp