YaST2 Developers Documentation: Bootloader installation and configuration

Bootloader installation and configuration

modules/BootZIPL.ycp
Module containing specific functions for ZIPL configuration and installation

Imports

  • BootCommon
  • Installation
  • Kernel
  • Mode
  • Stage
  • StorageControllers

Includes

  • bootloader/routines/popups.ycp
  • bootloader/zipl/widgets.ycp

Global Functions

global UpdateZiplConfBeforeUpdate () -> void

Update /etc/zip.conf before the update (fix kernel path)

global runSummaryDialog () -> symbol

Empty summary dialog

Return value:
always `back
global updateHardwareConfig () -> boolean

Update /etc/sysconfig/hardware configuration Use data from install.inf file

Return value:
true on success
global Propose () -> void

Propose bootloader settings

global Read (boolean reread) -> boolean

Read settings from disk

Parameters:
reread boolean true to force reread settings from system
Return value:
true on success
global Save (boolean clean, boolean init, boolean flush) -> boolean

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
Info:

Save all bootloader configuration files

Return value:
true if success
global Summary () -> list<string>

Display bootloader summary

Return value:
a list of summary lines
global Update () -> void

Update read settings to new version of configuration files

global Write () -> boolean

Write bootloader settings to disk

Return value:
true on success
global FixSequence (map ws_data) -> map

Update bootlaoder configuration sequence

Parameters:
ws_data map of wizard sequencer data
Return value:
modified map of wizard sequencer data
Info:

Get the list of all dump devices

Return value:
of all dump devices, as list of maps containg keys "label", "target" and "dumpto"
Info:

Set the list of all dump devices

Parameters:
dump_devices list in the same form as result of GetDumpDevices ()
global GetFunctions () -> map<string, any>

Return map of provided functions

Return value:
a map of functions (eg. $["write":``(BootZIPL::Write ())])
global Initializer () -> void

Initializer of S390 bootloader

global BootZIPL () -> void

Constructor