158. OSR

Control of the automatic scan and repair sequence.

158.1. Authors

  • Johannes Buchhold <jbuch@suse.de>

158.2. Summary of Module Globals

List of Global Functions

List of Global Variables

158.3. Global Functions

158.3.1. CheckGroupRequires

check the dependencies for seleced detect groups

Return value

  • list<string>

158.3.2. Detect

Start detection loop.

Return value

  • symbol

158.3.3. DetectGroupList

get value of OSRCommon::detect_group_list

Return value

  • list<string>

158.3.4. GroupItems

Build item list with all group items.

Function parameters

  • boolean mode

Return value

  • list<term>

158.3.5. Init

This method initializes the YaST OS Repair system. It is started at first and builds the main window, initializes the global osr_map and a lot of other data.

Return value

  • boolean - True if the initialization progress succeeded.

158.3.6. Reset

Reset all.

Return value

  • void

158.3.7. ResetDetect

Reset detect settings.

Return value

  • void

158.3.8. ResetDetectGroupList

set OSRCommon::detect_group_list to []

Return value

  • void

158.3.9. ResetDetectionModules

Reset the temporary changes. e.g.: Umount temporary mounted partitions ...

Return value

  • boolean

158.3.10. SetDetectGroupList

set new value for OSRCommon::detect_group_list

Function parameters

  • list<string> gl

Return value

  • void

158.3.11. SetReboot

Prepare for reboot system

Return value

  • void

158.3.12. SizeDetectGroupList

return size of OSRCommon::detect_group_list

Return value

  • integer

158.3.13. osr_empty

Empty term.

Return value

  • boolean

158.4. Global Variables

158.4.1. next_detect_method

Allowed back jump in a scan and repair sequence error appear.

158.5. Module Requirements

158.5.1. Module Imports

  • Linuxrc
  • Mode
  • OSRCommon
  • OSRDirect
  • OSRLogFile
  • OSRMode
  • OSRProgress
  • OSRStatus
  • OSRSummary
  • Report
  • Stage

158.5.2. Module Includes

  • repair/osr_module_bootloader.ycp
  • repair/osr_module_init.ycp
  • repair/osr_module_packages.ycp
  • repair/osr_module_partition.ycp