YaST2 Developers Documentation: Bootloader installation and configuration



functions
files
intro

Bootloader installation and configuration

include/bootloader/routines/options.ycp
Table options and popups for being used by several bootloaders

Imports

  • Label
  • Mode
  • Storage
  • StorageDevices

Includes

  • bootloader/routines/popups.ycp

Global Functions

global getTargetWidget () -> term

Get the target widget to be displayed

Return value:
widget to be displayed

global targetInit (any opt_id, any opt_key) -> void

Init function of a popup

Parameters:
opt_id any option id
opt_key any option key

global targetStore (any opt_id, any opt_key) -> void

Store function of a popup

Parameters:
opt_id any option id
opt_key any option key

global targetValidate (any opt_id, any opt_key, map event) -> boolean

Validate function of a popup

Parameters:
opt_id any option id
opt_key any option key
event map event that caused validation
Return value:
true if widget settings ok

global targetSummary (any opt_id, any opt_key) -> string

Summary function of a table entry

Parameters:
opt_id any option id
opt_key any option key
Return value:
summary to the table

global getTargetOption () -> map

Get map of Target widget

Return value:
of Target widget

global loaderTypeInit (any opt_id, any opt_key) -> void

Init function of a popup

Parameters:
opt_id any option id
opt_key any option key

global loaderTypeSummary (any opt_id, any opt_key) -> string

Summary function of a table entry

Parameters:
opt_id any option id
opt_key any option key
Return value:
summary to the table

global getLoaderSelectionWidget () -> map

Get map of widget

Return value:
of widget

global backupMbrInit (any opt_id, any opt_key) -> void

Init function of a popup

Parameters:
opt_id any option id
opt_key any option key

global backupMbrStore (any opt_id, any opt_key) -> void

Store function of a popup

Parameters:
opt_id any option id
opt_key any option key

global backupMbrSummary (any opt_id, any opt_key) -> string

Summary function of a table entry

Parameters:
opt_id any option id
opt_key any option key
Return value:
summary to the table

global getBackupMbrWidget () -> map

Get map of widget

Return value:
of widget

global activateInit (any opt_id, any opt_key) -> void

Init function of a popup

Parameters:
opt_id any option id
opt_key any option key

global activateStore (any opt_id, any opt_key) -> void

Store function of a popup

Parameters:
opt_id any option id
opt_key any option key

global activateSummary (any opt_id, any opt_key) -> string

Summary function of a table entry

Parameters:
opt_id any option id
opt_key any option key
Return value:
summary to the table

global getActivateWidget () -> map

Get widget map

Return value:
of widget

global replMbrInit (any opt_id, any opt_key) -> void

Init function of a popup

Parameters:
opt_id any option id
opt_key any option key

global replMbrStore (any opt_id, any opt_key) -> void

Store function of a popup

Parameters:
opt_id any option id
opt_key any option key

global replMbrSummary (any opt_id, any opt_key) -> string

Summary function of a table entry

Parameters:
opt_id any option id
opt_key any option key
Return value:
summary to the table

global getReplMbrWidget () -> map

Get map of widget

Return value:
of widget

global saveMethodInit (any opt_id, any opt_key) -> void

Init function of a popup

Parameters:
opt_id any option id
opt_key any option key

global saveMethodStore (any opt_id, any opt_key) -> void

Store function of a popup

Parameters:
opt_id any option id
opt_key any option key

global saveMethodSummary (any opt_id, any opt_key) -> string

Summary function of a table entry

Parameters:
opt_id any option id
opt_key any option key
Return value:
summary to the table

global getSaveMethod () -> map

Get map of widget

Return value:
of widget

global defaultSectionSummary (any opt_id, string opt_key) -> string

Summary function of a table entry

Parameters:
opt_id any option id
opt_key any option key
Return value:
summary to the table

global getDefaultSectionTableEntry () -> map

Get map of widget

Return value:
of widget

global getSectionsSummary (any opt_id, any opt_key) -> string

Summary function of a table entry

Parameters:
opt_id any option id
opt_key any option key
Return value:
summary to the table

global getSectionsTableEntry () -> map

Get map of widget

Return value:
of widget

global labelValidate (any opt_id, any opt_key, map event) -> boolean

Validate function of a popup

Parameters:
opt_id any option id
opt_key any option key
event map event that caused validation
Return value:
true if widget settings ok

global getLabelWidget () -> map

Get map of widget

Return value:
of widget

global getAliasWidget () -> map

Get map of widget

Return value:
of widget

global sectionTypeInit (any opt_id, any opt_key) -> void

Init function of a popup

Parameters:
opt_id any option id
opt_key any option key

global sectionTypeStore (any opt_id, any opt_key) -> void

Store function of a popup

Parameters:
opt_id any option id
opt_key any option key

global sectionTypeSummary (any opt_id, any opt_key) -> string

Summary function of a table entry

Parameters:
opt_id any option id
opt_key any option key
Return value:
summary to the table

global getSectionTypeWidget () -> map

Get map of widget

Return value:
of widget

global timeoutInit (any opt_id, any opt_key) -> void

Init function of a popup

Parameters:
opt_id any option id
opt_key any option key

global timeoutStore (any opt_id, any opt_key) -> void

Store function of a popup

Parameters:
opt_id any option id
opt_key any option key

global timeoutSummary (any opt_id, any opt_key) -> string

Summary function of a table entry

Parameters:
opt_id any option id
opt_key any option key
Return value:
summary to the table

global getTimeoutWidget () -> map

Get map of widget

Return value:
of widget

global initPasswdWidget (any opt_id, any opt_key) -> void

Init function of a popup

Parameters:
opt_id any option id
opt_key any option key

global handlePasswdWidget (any opt_id, any opt_key, map event) -> void

Handle function of widget

Parameters:
opt_id any option id
opt_key any option key
event map event that occured

global storePasswdWidget (any opt_id, any opt_key) -> void

Store function of a popup

Parameters:
opt_id any option id
opt_key any option key

global validatePasswdWidget (any opt_id, any opt_key, map event) -> boolean

Validate function of a popup

Parameters:
opt_id any option id
opt_key any option key
event map event that caused validation
Return value:
true if widget settings ok

global getPasswdSummary (any opt_id, any opt_key) -> string

Summary function of a table entry

Parameters:
opt_id any option id
opt_key any option key
Return value:
summary to the table

global getPasswdWidget () -> map

Get map of widget

Return value:
of widget

global deleteMessage () -> void

Delete function of widget

global getMessageWidget () -> map

Get map of widget

Return value:
of widget

global generateOptionMaps () -> map

Generate option maps from their types

Return value:
autogenerated map of options

global GetOptionMaps () -> map<string,any>

Get map of all available Table/Popup options

Return value:
of options

YaST2 Developers Documentation