YaST2 Developers Documentation: Bootloader installation and configuration

Bootloader installation and configuration

bootloader/ppc/iSeries.ycp
include containing specific functions for iSeries configuration and installation

Imports

  • BootCommon
  • Installation
  • Kernel
  • Mode

Includes

  • bootloader/ppc/misc.ycp
  • bootloader/routines/popups.ycp

Global Functions

global iSeriesTarget2Type (string target) -> symbol

Get the type of target (just a simple heuristic)

Parameters:
target bootloader target
Return value:
`slot, `prep, `file or `unknown
global iSeriesAssignDevice () -> void

Assign the Boot::activate variable

global iSeriesPropose (boolean initial) -> void

Propose bootloader settings

Parameters:
initial boolean true if doing initial proposal
global iSeriesRead () -> boolean

Read the board-type-specific settings

Return value:
true on success
global iSeriesUpdate () -> boolean

Update the board-type-specific settings

Return value:
true on success
global iSeriesSave () -> boolean

Save the board-type-specific settings

Return value:
true on success
global iSeriesSummary () -> list<string>

retuen the board-type-specific part of summary

Return value:
a list of summary strings
global iSeriesWrite (boolean requires_initrd) -> boolean

Install the board-type-specific part of bootloader

Parameters:
requires_initrd boolean true if initrd is required
Return value:
true on success
global iSeriesInit () -> void

Initialize attributes of the board type