YaST2 Developers Documentation: Bootloader installation and configuration



functions
files
intro

Bootloader installation and configuration

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

Imports

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

Global Functions

global askClone (string name) -> boolean

Display question

Parameters:
name string name of currently selected section (to clone)
Return value:
true if answered yes

global confirmAbortPopup () -> boolean

Display question

Return value:
true if answered yes

global resetSectsPopup () -> boolean

Display question

Return value:
true if answered yes

global confirmSectionDeletePopup (string title) -> boolean

Display question

Parameters:
title string section title
Return value:
true if answered yes

global resetAllPopup () -> boolean

Display question

Return value:
true if answered yes

global setLocationErrorPopup () -> void

Display error

global emptyPasswdErrorPopup () -> void

Display error

global passwdMissmatchPopup () -> void

Display error

global displayDiskChangePopup (string sect_name) -> void

Display popup about change of section

Parameters:
sect_name string section name

global displayFilesEditedPopup () -> void

Display popup

global 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

global saveToFLoppyPopup () -> boolean

Show the popup before saving to floppy, handle actions

Return value:
true on success

global usedNameErrorPopup () -> void

Display error

global writeErrorPopup () -> boolean

Display error

Return value:
true if shall retry

global displayGfxMenuChangePopup () -> void

Display popup

global confirmOptionDeletePopup () -> boolean

Display yes-no popup

Return value:
true if confirmed

global errorWithLogPopup (string header, string log) -> void

Display error popup with log

Parameters:
header string error header
log string logfile contents

global displayNoSupportPopup () -> void

Display popup

global noBootloaderPopup () -> void

Display popup

global floppyWrittenPopup (string bootloader) -> void

Display popup

Parameters:
bootloader string printable name of used bootloader

global restoreMBRPopup (string device) -> boolean

Display popup - confirmation befopre restoring MBR

Parameters:
device string device to restore to

YaST2 Developers Documentation