YaST2 Developers Documentation: WAGON

WAGON

modules/Wagon.ycp
Functions and handlers for WAGON
  • Lukas Ocilka

This module has an unstable interface.

This module is for internal use only.

Module for handling WAGON.

Imports

  • CommandLine
  • Directory
  • Installation
  • Label
  • Mode
  • PackageCallbacks
  • Popup
  • ProductControl
  • ProductFeatures
  • Report
  • Stage
  • Update
  • XML

Global Functions

global Init (map <string, any> commands) -> void

Initializes internal variables used later

Parameters:
commands
See
CommandLine module
global InitPkg () -> boolean

Initializes the package manager

global ProcessCommandLine (map <string, any> commands) -> void

Processes the command-line parameters and prints an appropriate command-line output.

Parameters:
commands
See
CommandLine module
global AcceptLicenses () -> boolean

Goes through all selected packages one by one a check licenses to confirm. These licenses are requested to be accepted by user. If user declines any of them, a respective package is set to 'Taboo' and new solver run is required.

Return value:
whether all licenses have been accepted