YaST2 Developers Documentation: installation

installation

clients/inst_automatic_configuration.ycp
Automatic configuration instead of the second stage
  • Lukas Ocilka

This module has an unstable interface.

@see http://visnov.blogspot.com/2008/02/getting-rid-of-2nd-stage-of.html

Imports

  • Directory
  • FileUtils
  • GetInstArgs
  • InstError
  • Mode
  • ProductControl
  • ProductFeatures
  • Progress
  • Stage
  • Wizard

Local Functions

local NormalizeScriptNames (list <string> names) -> list <string>

Prepares the list of installation scripts to be executed. This comes from control file where scripts are mentioned without the leading "inst_" but they are actually named that way ("inst_something").

Parameters:
names
Example
 ["aa", "inst_bb"] -> ["inst_aa", "inst_bb"]
local NormalizeProposalNames (list <string> names) -> list <string>

Similar to NormalizeScriptNames but it add "_proposal" instead if "inst_".

Parameters:
names
Example
 ["aa", "bb_proposal"] -> ["aa_proposal", "bb_proposal"]