30. BootPOWERLILO

Module containing specific functions for POWERLILO configuration and installation

30.1. Summary of Module Globals

List of Global Functions

  • BootPOWERLILO - Constructor

  • CreateGlobals - Propose global options of bootloader modifies internal structures

  • CreateSections - Propose sections to bootloader menu modifies internal sreuctures

  • GetFunctions - Return map of provided functions

  • Import - Import settings from a map

  • Initializer - Initializer of PowerLILO bootloader

  • LocationProposal - Propose the location of the root device on disk and the boot device (if any), according to the subarchitecture. Results are stored in global variables.

  • Propose - Propose bootloader settings

  • Read - Read settings from disk

  • Reset - Reset bootloader settings

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

  • SaveInstSourceId - Save the ID of the base installation source modifies internal variable

  • Summary - Display bootloader summary

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

  • Write - Write bootloader settings to disk

  • currentBoardInit - Initialize the attribute of currently used board type

List of Global Variables

    30.2. Global Functions

    30.2.1. BootPOWERLILO

    Constructor

    Return value

    • void

    30.2.2. CreateGlobals

    Propose global options of bootloader modifies internal structures

    Return value

    • void

    30.2.3. CreateSections

    Propose sections to bootloader menu modifies internal sreuctures

    Return value

    • void

    30.2.4. GetFunctions

    Return map of provided functions

    Return value

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

    30.2.5. Import

    Import settings from a map

    Function parameters

    • map settings

    Return value

    • boolean - true on success

    30.2.6. Initializer

    Initializer of PowerLILO bootloader

    Return value

    • void

    30.2.7. LocationProposal

    Propose the location of the root device on disk and the boot device (if any), according to the subarchitecture. Results are stored in global variables.

    Return value

    • void

    30.2.8. Propose

    Propose bootloader settings

    Return value

    • void

    30.2.9. Read

    Read settings from disk

    Function parameters

    • boolean reread

    Return value

    • boolean - true on success

    30.2.10. Reset

    Reset bootloader settings

    Function parameters

    • boolean init

    Return value

    • void

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

    30.2.12. SaveInstSourceId

    Save the ID of the base installation source modifies internal variable

    Return value

    • void

    30.2.13. Summary

    Display bootloader summary

    Return value

    • list<string> - a list of summary lines

    30.2.14. Update

    Update read settings to new version of configuration files

    Return value

    • void

    30.2.15. Write

    Write bootloader settings to disk

    Return value

    • boolean - true on success

    30.2.16. currentBoardInit

    Initialize the attribute of currently used board type

    Return value

    • void

    30.3. Global Variables

    30.4. Module Requirements

    30.4.1. Module Imports

    • Arch
    • BootArch
    • BootCommon
    • Kernel
    • Mode
    • Pkg
    • Stage
    • Storage

    30.4.2. Module Includes

    • bootloader/generic/dialogs.ycp
    • bootloader/ppc/chrp.ycp
    • bootloader/ppc/helps.ycp
    • bootloader/ppc/iseries.ycp
    • bootloader/ppc/misc.ycp
    • bootloader/ppc/prep.ycp
    • bootloader/routines/popups.ycp