Package-installation is a module for installing and deleting packages in the running system. There are two kinds of using this module:
In this case the workflow is started with the package-single-selection. The user can select or deleselct packages which have to be installed or deleted. After he has confirmed the selection the packages will be installed or deleted and SuSEConfig will be started.
Module call:
yast2 sw_single
In this case the workflow is started with a pre-selected number of packages which have been defined in an ascii-file ( YCP-format ). These packages will be installed or deleted autamatically after resolving the dependencies. Then SuSEConfig will be started.
Module call:
yast2 sw_single '"filename"'
filename is the path on an ascii-file, where packages are defined for installation or deinstalltion.
Example of description file:
$["userInput":true, "install":["tuxeyes","xroach"], "delete":["xlock"]]
userInput: If userInput is true the user can change the packages by calling the module package-single-selection. If it is false package-single-selection will only be called if a package-confilct has been occured ( default is false ).
install: Defines a list of packages, which have to be installed.
delete: Defines a list of packages, which have to be deleted.