Bootloader installation and configuration
|
modules/BootPPC.ycp
|
Module containing specific functions for PPC configuration
and installation
|
|
|
Imports
- Arch
- BootCommon
- Installation
- Kernel
- Mode
- Storage
Includes
- bootloader/ppc/chrp.ycp
- bootloader/ppc/iseries.ycp
- bootloader/ppc/misc.ycp
- bootloader/ppc/prep.ycp
- bootloader/ppc/widgets.ycp
- bootloader/routines/popups.ycp
- bootloader/routines/routines.ycp
Global Functions
|
|
|
global currentBoardInit () -> void
|
|
Initialize the attribute of currently used board type
global currentBoardRead () -> boolean
|
|
Write the settings specific to current board
Cannot use SCR!!!
- Return value:
global currentBoardSave () -> boolean
|
|
Read the settings specific to current board
Cannot use SCR!!!
- Return value:
global createLinuxSection (string title) -> list<map>
|
|
Create linux section
- Parameters:
title |
strign section title (linux, failsafe, memtest) |
- Return value:
|
section description structure |
global createSections () -> void
|
|
Propose sections to bootloader menu
modifies internal sreuctures
FIXME very similar to the one in BootLILO
global createGlobals () -> void
|
|
Propose global options of bootloader
modifies internal structures
global updateSections (boolean replace) -> void
|
|
Update sections of bootloader menu
modifies internal sreuctures
- Parameters:
replace |
boolean true if old sectinos shall be replaced |
global updateGlobals () -> void
|
|
Update global options of bootloader
modifies internal sreuctures
global fixSections (boolean disks_changed) -> void
|
|
Fix sections of bootloader menu during proposal regeneration
modifies internal sreuctures
- Parameters:
disks_changed |
boolean should be true if bootloader location
relevant disk locations have changed |
global fixGlobals (boolean disks_changed) -> void
|
|
Fix global options of bootloader during proposal regeneration
modifies internal sreuctures
- Parameters:
disks_changed |
boolean should be true if bootloader location
relevant disk locations have changed |
global GetFiles () -> map<string,string>
|
|
Create strings representing cfg. files for by-hand editation
- Return value:
global SetFiles (map<string,string> files) -> void
|
|
Store strings representing cfg. files to internal structures
- Parameters:
files |
map filename -> contents |
global GetOptions () -> map
|
|
Get map of bootloader options
FIXME this was just copied from LILO, changes are expected
- Return value:
Export bootloader settings to a map
- Return value:
global Import (map settings) -> boolean
|
|
Import settings from a map
- Parameters:
settings |
map of bootloader settings |
global Propose () -> void
|
|
Propose bootloader settings
global Read () -> boolean
|
|
Read settings from disk
- Return value:
Reset bootloader settings
global Save () -> boolean
|
|
Save all bootloader configuration files
- Return value:
global Summary () -> list<string>
|
|
Display bootloader summary
- Return value:
Update read settings to new version of configuration files
global Write () -> boolean
|
|
Write bootloader settings to disk
- Return value:
global Initializer () -> void
|
|
Initializer of the bootloader
global GetFunctions () -> map<string, any>
|
|
Return map of provided functions
- Return value:
|
map of functions (eg. $["write":``(BootPPC::Write ())]) |
global BootPPC () -> void
|
|
Constructor
|