YaST2 Developers Documentation: Bootloader installation and configuration

Bootloader installation and configuration

modules/BootZIPL.ycp
Module containing specific functions for ZIPL configuration and installation
  • Joachim Plack
  • Jiri Srain
  • Philipp Thomas

This module has an unstable interface.

Imports

  • BootArch
  • BootCommon
  • Installation
  • Kernel
  • Mode
  • Stage

Includes

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

Global Functions

Info:

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

global updateHardwareConfig () -> boolean

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

Return value:
true on success
global Read (boolean reread, boolean avoid_reading_device_map) -> boolean

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
global Propose () -> void

Propose bootloader settings

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
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 FlagOnetimeBoot (string section) -> boolean

Set section to boot on next reboot.

Parameters:
section string section to boot
Return value:
true on success
global GetFunctions () -> map<string, any>

Return map of provided functions

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

Initializer of S390 bootloader

global BootZIPL () -> void

Constructor