Bootloader installation and configuration |
modules/BootPOWERLILO.ycp |
Module containing specific functions for POWERLILO configuration and installation | |
|
|
This module has an unstable interface. |
Imports
Includes
Global Functions
Local Functions |
Update list of 41 PReP boot partitions
- Return value:
-
true if list changed, false otherwise
Select PReP boot partition to propose Changes internal variables.
Initialize attributes of the board type
Initialize attributes of the board type
Helper function that executes a command with the shell, appending stdout and stderr to a logfile. On error, it writes log entries to the yast2 log.
- Parameters:
-
command string command to execute logfile string logfile for the commands output
- Return value:
-
true on success
Install the board-type-specific part of bootloader
- Return value:
-
true on success
Initialize attributes of the board type
Initialize the attribute of currently used board type
Create section for bootable image
- Parameters:
-
title string the section name to create (untranslated)
- Return value:
-
describes the section
Choose a boot partition on pmac type == Apple_HFS|Apple_Bootstrap && size < 20 cyl
- Return value:
-
device name of pmac boot partition
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 sections to bootloader menu modifies internal sreuctures
Propose global options of bootloader modifies internal structures
Save the ID of the base installation source modifies internal variable
Propose bootloader settings
Export bootloader settings to a map
- Return value:
-
bootloader settings
Import settings from a map
- Parameters:
-
settings map of bootloader settings
- Return value:
-
true on success
Read settings from disk
- Parameters:
-
reread boolean true to force reread settings from system avoid_reading_device_map do not read new device map from file, use internal data
- Return value:
-
true on success
Reset bootloader settings
- Parameters:
-
init
Save all bootloader configuration files to the cache of the PlugLib PlugLib must be initialized properly !!!
- Parameters:
-
clean boolean true if settings should be cleaned up (checking their correctness, supposing all files are on the disk init boolean true to init the library flush boolean true to flush settings to the disk
- Return value:
-
true if success
Display bootloader summary
- Return value:
-
a list of summary lines
Update read settings to new version of configuration files
Firstly update sections of bootloader configuration and modify internal structures as needed. This means right now:
Secondly update global settings of bootloader configuration:
Write bootloader settings to disk
- Return value:
-
true on success
Set section to boot on next reboot
- Parameters:
-
section string section to boot
- Return value:
-
true on success
Return map of provided functions
- Return value:
-
map of functions (eg. $["write":BootPOWERLILO::Write])
Initializer of PowerLILO bootloader
Constructor