32. BootPOWERLILO

Module containing specific functions for POWERLILO configuration and installation

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

  • Export - Export bootloader settings to a map

  • FlagOnetimeBoot - Set section to boot on next reboot

  • 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

  • iSeriesInit - Initialize attributes of the board type

  • iSeriesWrite - Install the board-type-specific part of bootloader

List of Global Variables

    32.2. Global Functions

    32.2.1. BootPOWERLILO

    Constructor

    Return value

    • void

    32.2.2. CreateGlobals

    Propose global options of bootloader modifies internal structures

    Return value

    • void

    32.2.3. CreateSections

    Propose sections to bootloader menu modifies internal sreuctures

    Return value

    • void

    32.2.4. Export

    Export bootloader settings to a map

    Return value

    • map - bootloader settings

    32.2.5. FlagOnetimeBoot

    Set section to boot on next reboot

    Function parameters

    • string section

    Return value

    • boolean - true on success

    32.2.6. GetFunctions

    Return map of provided functions

    Return value

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

    32.2.7. Import

    Import settings from a map

    Function parameters

    • map settings

    Return value

    • boolean - true on success

    32.2.8. Initializer

    Initializer of PowerLILO bootloader

    Return value

    • void

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

    32.2.10. Propose

    Propose bootloader settings

    Return value

    • void

    32.2.11. Read

    Read settings from disk

    Function parameters

    • boolean reread

    • boolean avoid_reading_device_map

    Return value

    • boolean - true on success

    32.2.12. Reset

    Reset bootloader settings

    Function parameters

    • boolean init

    Return value

    • void

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

    32.2.14. SaveInstSourceId

    Save the ID of the base installation source modifies internal variable

    Return value

    • void

    32.2.15. Summary

    Display bootloader summary

    Return value

    • list<string> - a list of summary lines

    32.2.16. Update

    Update read settings to new version of configuration files

    Return value

    • void

    32.2.17. Write

    Write bootloader settings to disk

    Return value

    • boolean - true on success

    32.2.18. currentBoardInit

    Initialize the attribute of currently used board type

    Return value

    • void

    32.2.19. iSeriesInit

    Initialize attributes of the board type

    Return value

    • void

    32.2.20. iSeriesWrite

    Install the board-type-specific part of bootloader

    Return value

    • boolean - true on success

    32.3. Global Variables

    32.4. Module Requirements

    32.4.1. Module Imports

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

    32.4.2. Module Includes

    • bootloader/generic/dialogs.ycp
    • bootloader/ppc/helps.ycp
    • bootloader/routines/popups.ycp