System installation |
include/add-on/add-on-workflow.ycp |
| Add-on product installation workflow | |
|
|
|
This module has an unstable interface. |
Imports
Includes
StructuresLocal Functions
|
Initialize current inst. sources
Write (changed) inst. sources
Checks whether some network is available in the current moment, see the bug #170147 for more information.
Returns begining string for source type
- Parameters:
-
source_type
- Return value:
-
url begins with...
Run dialog for selecting the media
- Return value:
-
for wizard sequencer
Sets the Add-On's product name
- Parameters:
-
src_id
Run dialog for selecting the catalog on the media (if more than one present)
- Return value:
-
for wizard sequencer
Check new product compliance; may abort the installation
Logs wrong product with 'log_this' error and returns 'return_this'. Added because of bnc #459461
- Parameters:
-
one_product log_this return_this
Modifies repository info (adds some missing pieces).
- Parameters:
-
info
Structure $[
"IDs" : [8, 9, 12],
"URLs" : ["dvd://", "http://some/URL/", "ftp://another/URL/"],
"aliases" : ["alias1", "alias2", "alias3"],
]
- Parameters:
-
this_product all_products
List of all selected repositories
Structure add_on_products = [
$[
"media" : 4, // ID of the source
"product_dir" : "/",
"product" : "openSUSE version XX.Y",
"autoyast_product" : "'PRODUCT' tag for AutoYaST Export",
"media_url" : "Zypp URL of the product",
],
...
]
Removes the currently selected Add-On
- Return value:
-
whether something has changed its state