34. BootLILO

Module containing specific functions for LILO configuration and installation

34.1. Authors

  • Jiri Srain <jsrain@suse.cz>

  • Olaf Dabrunz <od@suse.de>

  • Philipp Thomas <pth@suse.de>

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

    34.3. Global Functions

    34.3.1. BootLILO

    Constructor

    Return value

    • void

    34.3.2. CreateGlobals

    Propose global options of bootloader modifies internal structures

    Return value

    • void

    34.3.3. CreateSections

    Propose sections to bootloader menu modifies internal sreuctures

    Return value

    • void

    34.3.4. FlagOnetimeBoot

    Set section to boot on next reboot

    Function parameters

    • string section

    Return value

    • boolean - true on success

    34.3.5. GetFunctions

    Return map of provided functions

    Return value

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

    34.3.6. Initializer

    Initializer of LILO bootloader

    Return value

    • void

    34.3.7. Propose

    Propose bootloader settings

    Return value

    • void

    34.3.8. Read

    Read settings from disk

    Function parameters

    • boolean reread

    • boolean avoid_reading_device_map

    Return value

    • boolean - true on success

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

    34.3.10. Update

    Update read settings to new version of configuration files

    Return value

    • void

    34.3.11. Write

    Write bootloader settings to disk

    Return value

    • boolean - true on success

    34.4. Global Variables

    34.5. Module Requirements

    34.5.1. Module Imports

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

    34.5.2. Module Includes

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