yast2-installation |
clients/inst_extrasources.ycp |
Add extra installation sources from content file | |
|
|
This module has an unstable interface. |
Imports
Includes
Local Functions |
local
ConfirmExtraSources (map<string,boolean> urls)
->
list<string>
Show a confirmation dialog with list of the extra sources.
- Parameters:
-
urls list of URLs
- Return value:
-
true if the user wants to register the sources
local
NetworkStart ()
->
map<string,boolean>
Temporarily start the network
- Return value:
-
The network status before starting
local
NetworkStop (map<string,boolean> original_status)
->
void
Restore the network status
- Parameters:
-
original_status original status before starting the network
local
GetExtraURLs (list<string> registered)
->
map<string,boolean>
Dowload and parse content files from current installation sources
- Parameters:
-
registered
- Return value:
-
Extra URLs for each source: $[ string source_url : list extra_urls ]
local
RegisterSources (list<string> url_list)
->
list<integer>
Register the installation sources
- Parameters:
-
url_list list of the sources to register
- Return value:
-
list of created source IDs