YaST2 Developers Documentation: Bootloader installation and configuration

Bootloader installation and configuration

include/bootloader/routines/widgets.ycp
Common widgets for being used by several bootloaders
  • Jiri Srain
  • Olaf Dabrunz

This module has an unstable interface.

Imports

  • CWM
  • Initrd
  • Label
  • Mode
  • Popup
  • Storage
  • StorageDevices
  • TablePopup

Includes

  • bootloader/routines/helps.ycp

Local Variables

Local Functions

local SectionOptionInit (string widget) -> void

Init function for widget value

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

Store function of a widget

Parameters:
widget any widget key
event map event description of event that occured
local section_handlers -> map<string,any>

Map of fallback handlers for events on sections

local SectionNameValidate (string widget, map event) -> boolean

Validate function of the name widget

Parameters:
widget any widget key
event map event description of event that occured
Return value:
true if widget settings ok
local SectionNameStore (string widget, map event) -> void

Store function of the name widget

Parameters:
widget any widget key
event map event description of event that occured
local KernelImageInit (string widget) -> void

Init function of widget

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

Handle function of a widget

Parameters:
widget any widget key
event map event description of event that occured
Return value:
to return to wizard sequencer, or nil
local InitrdInit (string widget) -> void

Init function of widget

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

Handle function of the initrd widget

Parameters:
widget any widget key
event map event description of event that occured
Return value:
to return to wizard sequencer, or nil
local RootDeviceInit (string widget) -> void

Init function of the root device widget

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

Store function of the root device widget

Parameters:
widget any widget key
event map event description of event that occured
local RootDeviceHandle (string widget, map event) -> symbol

Handle function of the root device widget

Parameters:
widget any widget key
event map event description of event that occured
Return value:
to return to wizard sequencer, or nil
local VgaModeInit (string widget) -> void

Init function of widget

Parameters:
widget any id of the widget
local ChainloaderInit (string widget) -> void

Init function of widget

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

Handle function of the chainloader widget

Parameters:
widget any widget key
event map event description of event that occured
Return value:
to return to wizard sequencer, or nil
local SectionTypesWidget () -> term

Widget for selecting section type

Return value:
widget
local SectionTypeHandle (string widget, map event) -> symbol

Handle function of a widget

Parameters:
widget string widget key
event map event description of event that occured
Return value:
to return to wizard sequencer, or nil
local _common_section_widgets -> map<string,map<string,any> >

Cache for CommonSectionWidgets

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

Get common widgets for loader sections

Return value:
a map describing common loader section related widgets