System installation |
include/add-on/add-on-workflow.ycp |
Add-on product installation workflow | |
|
|
This module has an unstable interface. |
Imports
Includes
StructuresLocal Functions
|
local
Read ()
->
symbol
Initialize current inst. sources
local
Write ()
->
symbol
Write (changed) inst. sources
local
IsAnyNetworkAvailable ()
->
boolean
Checks whether some network is available in the current moment, see the bug #170147 for more information.
local
GetURLBeginsWith (symbol source_type)
->
string
Returns begining string for source type
- Parameters:
-
source_type
- Return value:
-
url begins with...
local
MediaSelect ()
->
symbol
Run dialog for selecting the media
- Return value:
-
for wizard sequencer
local
SetAddOnProductName (integer src_id)
->
void
Sets the Add-On's product name
- Parameters:
-
src_id
local
CatalogSelect ()
->
symbol
Run dialog for selecting the catalog on the media (if more than one present)
- Return value:
-
for wizard sequencer
local
LogWrongProduct (map <string,any> one_product, string log_this, string return_this)
->
string
Logs wrong product with 'log_this' error and returns 'return_this'. Added because of bnc #459461
- Parameters:
-
one_product log_this return_this
local
AdjustRepositoryInfo (map <string, list> & info)
->
void
Modifies repository info (adds some missing pieces).
- Parameters:
-
info
local
GetRepoInfo (map <string,any> & this_product, list <map <string,any> > & all_products)
->
map <string, list>
Structure $[
"IDs" : [8, 9, 12], "URLs" : ["dvd://", "http://some/URL/", "ftp://another/URL/"], "aliases" : ["alias1", "alias2", "alias3"], ]
- Parameters:
-
this_product all_products
local
RemoveProductWithDependencies ()
->
boolean
Removes the currently selected Add-On
- Return value:
-
whether something has changed its state