YaST2 Developers Documentation: Bootloader installation and configuration



functions
files
intro

Bootloader installation and configuration

include/bootloader/routines/switcher.ycp
Functions for choosing proper bootloader-specific functions

Imports

  • BootABOOT
  • BootCommon
  • BootELILO
  • BootGRUB
  • BootLILO
  • BootMILO
  • BootPPC
  • BootS390

Global Functions

global getFunctions (string bootloader) -> map

Get map of main functions for bootloader

Parameters:
bootloader string bootloader name
Return value:
of function

global blExport () -> map

Export bootloader-specific settings

Return value:
of settings

global blImport (map settings) -> boolean

Import settings to bootloader

Parameters:
settings map of settingss

global blRead () -> boolean

Read bootloader-specific settings

Return value:
true on success

global blReset () -> void

Reset bootloader-specific settings

global blPropose () -> void

Propose bootloader settings

global blSave () -> boolean

Save bootloader cfg. files

Return value:
true on success

global blSummary () -> list<string>

Get cfg. summary

Return value:
summary items

global blUpdate () -> void

Update bootloader-specific settings

global blWrite () -> boolean

Do the bootloader installation

Return value:
true on success

global blGetSequence (map ws_data) -> map

Update bootloader module cfg. sequence

Parameters:
ws_data map containing original sequence
Return value:
updates sequence

global blGetFiles () -> map<string,string>

Create map future cfg. files from internal variables

Return value:
filename -> contents

global blSetFiles (map<string,string> files) -> void

Store map of future cfg. files to internal variables

Parameters:
files map filename -> contents

YaST2 Developers Documentation