YaST2 Developers Documentation: Bootloader installation and configuration

Bootloader installation and configuration

include/bootloader/routines/widgets_ppc.ycp
Widgets for being used by bootloader for PowerPC

Imports

  • StorageDevices

Includes

  • bootloader/routines/popups.ycp

Local Variables

Local Functions

local InitBootMenu (string widget) -> void

Init function of widget

Parameters:
widget string id of the widget
local StoreBootMenu (string widget, map event) -> void

Store function of a widget

Parameters:
widget string widget key
event map event that caused the operation
local HandleBootMenu (string key, map event) -> symbol

Handle function of a widget

Parameters:
key any widget key
event map event description of event that occured
Return value:
always nil
local BootMenuWidget () -> map<string,any>

Build a map describing a widget

Return value:
a map describing a widget
local InitPasswdWidget (string widget) -> void

Init function of widget

Parameters:
widget string id of the widget
local HandlePasswdWidget (string widget, map event) -> symbol

Handle function of a widget

Parameters:
widget string id of the widget
event map event description of event that occured
Return value:
always nil
local StorePasswdWidget (string key, map event) -> void

Store function of a popup

Parameters:
key any widget key
event map event that caused the operation
local ValidatePasswdWidget (string key, map event) -> boolean

Validate function of a popup

Parameters:
key any widget key
event map event that caused validation
Return value:
true if widget settings ok
local PasswordWidget () -> map<string,any>

Build a map describing a widget

Return value:
a map describing a widget
local TargetWidget () -> term

Get the target widget to be displayed

Return value:
widget to be displayed
local TargetInit (string widget) -> void

Init function of a widget

Parameters:
widget string widget key
local TargetStore (string widget, map event) -> void

Store function of a widget

Parameters:
widget string widget key
event map event that caused the operation
local TargetValidate (string widget, map event) -> boolean

Validate function of a widget

Parameters:
widget string widget key
event map event that caused validation
Return value:
true if validation succeeded
local _ppc_widgets -> map<string,map<string,any> >

Cache for ppcWidgets function

local ppcWidgets () -> map<string,map<string,any> >

Get widgets specific for ppc

Return value:
a map describing all ppc-specific widgets