YaST2 Developers Documentation: inst_startup.ycp

inst_startup.ycp

  • Mathias Kettner <kettner@suse.de>
  • Klaus Kaempf <kkaempf@suse.de> <kkaempf@suse.de>
  • Stefan Hundhammer <sh@suse.de> <sh@suse.de>
  • Purpose:
  • This module does the startup:
  • - Set hostname and domainname
  • - Determine architecture and boot mode
  • - Find controllers and status enabled/disabled
  • - Probe all controllers for disks
  • - Probe all disks for partition data

Imports

  • Arch
  • Hotplug
  • Installation
  • Kernel
  • Linuxrc
  • Mode
  • ModuleLoading
  • Mouse
  • Report
  • Storage
  • StorageControllers
  • StorageDevices
  • Wizard

Local Functions

local showFeedback (string msg) -> void

Show feedback message in a simple dialog.

Parameters:
msg message to show
Info:

The UI normally changes the X cursor to a busy cursor anyway if the YCP application isn't ready to process user input (i.e. outside UI::UserInput()), but some hardware probings seem to interfere with the X cursor. Thus, let's make sure we really have a busy cursor while the probings are performed. Setting the busy cursor once more doesn't hurt in any case.

local clearFeedback () -> void

Close feedback dialog if it is open