YaST2 Developers Documentation: Bootloader installation and configuration

Bootloader installation and configuration

bootloader.ycp
Main file of bootloader configuration

This module has an unstable interface.

Imports

  • BootCommon
  • Bootloader
  • CommandLine
  • Mode
  • RichText

Includes

  • bootloader/routines/wizards.ycp

Local Functions

local GuiHandler () -> boolean

CommandLine handler for running GUI

Return value:
true if settings were saved
local BootloaderSummaryHandler (map options) -> boolean

Print summary of basic options

Parameters:
options a list of parameters passed as args
Return value:
false
local BootloaderModifySection (string section, string key, string value) -> boolean

Modify the boot loader section

Parameters:
section string the section name
key string the key to modify
value string the value to set
Return value:
true on success
local BootloaderSetHandler (map options) -> boolean

Set specified option in specified section

Parameters:
options a list of parameters passed as args
Return value:
true on success
local BootloaderDeleteHandler (map options) -> boolean

Delete specified option in specified section

Parameters:
options a list of parameters passed as args
Return value:
true on success
local BootloaderAddHandler (map options) -> boolean

Add a new bootloader section with specified name

Parameters:
options a list of parameters passed as args
Return value:
true on success
local BootloaderPrintHandler (map options) -> boolean

Print the value of specified option of specified section

Parameters:
options a list of parameters passed as args
Return value:
true on success