YaST2 Developers Documentation: installation



functions
files
intro

installation

modules/ProductControl.ycp
Product Control routines

Imports

  • Arch
  • Mode
  • Product
  • ProductFeatures
  • XML

Global Functions

global checkDisabled (map mod) -> boolean

Check if a module is disabled

Parameters:
mod

global Read (string controlfile) -> boolean

Read XML Control File

Parameters:
controlfile

global ProductControl () -> void

ProductControl Constructor

global checkArch (map mod, map def) -> boolean

Check if valid architecture

Parameters:
mod
def
Return value:
true if arch match

global getTerm (map mod, map def) -> term

Return term to be used to run module

Parameters:
mod
def
Return value:
module data with params

global getModeDefaults (string stage, string mode) -> map

Get workflow defaults

Parameters:
stage
mode
Return value:
defaults

global getModules (string stage, string mode) -> list<map>

Get modules of current Workflow

Parameters:
stage
mode
Return value:
modules

global getWorkflowLabel (string stage, string mode) -> string

Get Workflow Label

Parameters:
stage
mode

global AddWizardSteps (list<map> stagemode) -> void

Add Wizard Steps

Parameters:
stagemode

global UpdateWizardSteps (list<map> stagemode) -> void

Update Steps

Parameters:
stagemode

global getProposals (string stage, string mode, string proptype) -> list<string>

Get modules of current Workflow

Parameters:
stage
mode
proptype
Return value:
modules

YaST2 Developers Documentation