YaST2 Developers Documentation: Bootloader installation and configuration



functions
files
intro

Bootloader installation and configuration

include/bootloader/routines/ui.ycp
User interface for bootloader installation/configuration

Imports

  • BootCommon
  • BootGRUB
  • BootGRUB
  • CWM
  • Label
  • Mode
  • Popup
  • Sequencer
  • Wizard

Includes

  • bootloader/routines/convert.ycp

Global Functions

global testAbort () -> boolean

Test for abort.

Return value:
true if abort was pressed

global ReadDialog () -> symbol

Read settings dialog

Return value:
`abort if aborted and `next otherwise

global WriteDialog () -> symbol

Write settings dialog

Return value:
`abort if aborted and `next otherwise

global resetButtonHandle (any 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

global askSwitch (string from, string to, symbol type) -> symbol

Ask for bootlaoder switch method

Parameters:
from string current spooler
to string new spooler
type of switching, `proposal for switching proposed because of disks changed `user for switching upon user's request
Return value:
method

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

Store function of a widget

Parameters:
opt_id any option id
opt_key any option key

global runSectionsDialog () -> symbol

Run dialog for sections managment

Return value:
wizard sequencer symbol

global runSingleSectionDialog () -> symbol

Run dialog for single section managment

Return value:
wizard sequencer symbol

global runSummaryDialog () -> symbol

Run main summary dialog

Return value:
wizard sequencer symbol

global runEditFilesDialog () -> symbol

Run dialog

Return value:
for wizard sequencer

global getAliases () -> map

Get generic aliases

Return value:
aliases

global runWizard () -> symbol

Run wizard sequencer

Return value:
`next, `back or `abort

global BootloaderAutoSequence () -> symbol

Whole configuration of printer but without reading and writing. For use with autoinstallation.

Return value:
sequence result

global BootloaderSequence () -> symbol

Whole configuration of dns-server

Return value:
sequence result

YaST2 Developers Documentation