YaST2 Developers Documentation: Bootloader installation and configuration



functions
files
intro

Bootloader installation and configuration

modules/BootS390.ycp
Module containing specific functions for S390 configuration and installation

Imports

  • BootCommon
  • Kernel
  • Mode
  • Storage
  • StorageControllers

Includes

  • bootloader/routines/popups.ycp
  • bootloader/routines/routines.ycp

Global Functions

global getTableContents (map descr) -> list

Create a list of options for the table

Parameters:
descr map description of the table
Return value:
of option ids as it should be displayed

global getGlobalSectionWidget () -> map

Get map of widget

Return value:
of widget

global GetWidgetMaps () -> map

Get map of dialogs and widgets

Return value:
of dialogs and widgets

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

Read settings from disk

Return value:
true on success

global Save () -> boolean

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

global GetDumpDevices () -> list<map<string,string> >

Get the list of all dump devices

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

global SetDumpDevices (list<map<string,string> > dump_devices) -> void

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:
map of functions (eg. $["write":``(BootS390::Write ())])

global Initializer () -> void

Initializer of S390 bootloader

global BootS390 () -> void

Constructor


YaST2 Developers Documentation