YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Imports

  • Confirm
  • FileUtils
  • Message
  • Popup
  • Progress
  • Report
  • Storage
  • Summary

Global Variables

Global Functions

Info:

File: modules/Reipl.ycp Package: Configuration of reipl Summary: Reipl settings, input and output functions Authors: Mark Hamzy

$Id$

global Modified () -> boolean

Has the user modified the dialog values?

Return value:
return true if modified
global modified -> boolean

Data was modified?

global proposal_valid -> boolean

global write_only -> boolean

Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.

Info:

Abort function return boolean return true if abort

global Abort () -> boolean

Abort function

Return value:
return true if abort
global Modified () -> boolean

Data was modified?

Return value:
true if modified
global SetModified () -> void

Indicate that the data was modified

global FindSysfsRoot () -> string

Find where sysfs has been mounted.

Return value:
the root
global SanityCheck () -> boolean

Check to see if reipl is supported by the kernel.

Return value:
true if support exists.
global FindBootPartition () -> list<string>

Returns the parameters of the boot partition that was found where the MBR was located.

Return value:
a list of parameters
global ModifyReiplWithBootPartition (map <string, any> configuration) -> map <string, any>

Returns the reipl configuration passed in with what it should be for the detected boot partition.

Parameters:
configuration an old configuration.
Return value:
a map of the new target configuration.
global ReadState () -> map <string, any>

Read all reipl settings

Return value:
of settings
global Read () -> boolean

Read all reipl settings

Return value:
true on success
global WriteState (map <string, any> configuration) -> boolean

Write all reipl setting to the firmware

Parameters:
configuration the current configuration.
Return value:
true on success
global Write () -> boolean

Write all reipl settings

Return value:
true on success
global Import (map settings) -> boolean

Get all reipl settings from the first parameter (For use by autoinstallation.)

Parameters:
settings The YCP structure to be imported.
Return value:
True on success
global Export () -> map

Dump the reipl settings to a single map (For use by autoinstallation.)

Return value:
Dumped settings (later acceptable by Import ())
global Summary () -> list

Create a textual summary and a list of unconfigured cards

Return value:
summary of the current configuration
global AutoPackages () -> map

Return packages needed to be installed and removed during Autoinstallation to insure module has all needed software installed.

Return value:
with 2 lists.