35. BootPOWERLILO

Module containing specific functions for POWERLILO configuration and installation

35.1. Authors

  • Jiri Srain <jsrain@suse.cz>

  • Joachim Plack <jplack@suse.de>

  • Olaf Dabrunz <od@suse.de>

  • Philipp Thomas <pth@suse.de>

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

    35.3. Global Functions

    35.3.1. BootPOWERLILO

    Constructor

    Return value

    • void

    35.3.2. CreateGlobals

    Propose global options of bootloader modifies internal structures

    Return value

    • void

    35.3.3. CreateSections

    Propose sections to bootloader menu modifies internal sreuctures

    Return value

    • void

    35.3.4. Export

    Export bootloader settings to a map

    Return value

    • map - bootloader settings

    35.3.5. FlagOnetimeBoot

    Set section to boot on next reboot

    Function parameters

    • string section

    Return value

    • boolean - true on success

    35.3.6. GetFunctions

    Return map of provided functions

    Return value

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

    35.3.7. Import

    Import settings from a map

    Function parameters

    • map settings

    Return value

    • boolean - true on success

    35.3.8. Initializer

    Initializer of PowerLILO bootloader

    Return value

    • void

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

    35.3.10. Propose

    Propose bootloader settings

    Return value

    • void

    35.3.11. Read

    Read settings from disk

    Function parameters

    • boolean reread

    • boolean avoid_reading_device_map

    Return value

    • boolean - true on success

    35.3.12. Reset

    Reset bootloader settings

    Function parameters

    • boolean init

    Return value

    • void

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

    35.3.14. SaveInstSourceId

    Save the ID of the base installation source modifies internal variable

    Return value

    • void

    35.3.15. Summary

    Display bootloader summary

    Return value

    • list<string> - a list of summary lines

    35.3.16. Update

    Update read settings to new version of configuration files

    Return value

    • void

    35.3.17. Write

    Write bootloader settings to disk

    Return value

    • boolean - true on success

    35.3.18. currentBoardInit

    Initialize the attribute of currently used board type

    Return value

    • void

    35.3.19. iSeriesInit

    Initialize attributes of the board type

    Return value

    • void

    35.3.20. iSeriesWrite

    Install the board-type-specific part of bootloader

    Return value

    • boolean - true on success

    35.4. Global Variables

    35.5. Module Requirements

    35.5.1. Module Imports

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

    35.5.2. Module Includes

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