YaST2 Developers Documentation: Bootloader installation and configuration

Bootloader installation and configuration

include/bootloader/routines/popups.ycp
Popups for being used inside bootloader configurator

Imports

  • Encoding
  • Label
  • Misc
  • Mode
  • Popup
  • Report
  • String

Local Functions

local NoLoaderAvailable () -> void

Inform about not available functionality when no loader selected

local askClone (string name) -> boolean

Display question

Parameters:
name string name of currently selected section (to clone)
Return value:
true if answered yes
local confirmAbortPopup () -> boolean

Display question

Return value:
true if answered yes
local resetSectsPopup () -> boolean

Display question

Return value:
true if answered yes
local confirmSectionDeletePopup (string title) -> boolean

Display question

Parameters:
title string section title
Return value:
true if answered yes
local resetAllPopup () -> boolean

Display question

Return value:
true if answered yes
local setLocationErrorPopup () -> void

Display error

local emptyPasswdErrorPopup () -> void

Display error

local passwdMissmatchPopup () -> void

Display error

local displayDiskChangePopup (string sect_name) -> void

Display popup about change of section

Parameters:
sect_name string section name
local displayFilesEditedPopup () -> void

Display popup

local askLocationResetPopup (string device) -> boolean

Ask for change of bootloader location because of device unavailability

Parameters:
device string currently confiogured device
Return value:
yes if shall be reset
local saveToFLoppyPopup () -> boolean

Show the popup before saving to floppy, handle actions

Return value:
true on success
local usedNameErrorPopup () -> void

Display error

local writeErrorPopup () -> boolean

Display error

Return value:
true if shall retry
local displayGfxMenuChangePopup () -> void

Display popup

local confirmOptionDeletePopup () -> boolean

Display yes-no popup

Return value:
true if confirmed
local errorWithLogPopup (string header, string log) -> void

Display error popup with log

Parameters:
header string error header
log string logfile contents
local displayNoSupportPopup () -> void

Display popup

local noBootloaderPopup () -> void

Display popup

local floppyWrittenPopup (string bootloader) -> void

Display popup

Parameters:
bootloader string printable name of used bootloader
local restoreMBRPopup (string device) -> boolean

Display popup - confirmation befopre restoring MBR

Parameters:
device string device to restore to
Return value:
true of MBR restore confirmed