YaST2 Developers Documentation: yast2-installation

yast2-installation

clients/inst_extrasources.ycp
Automatically register software repositories from content file

This module has an unstable interface.

Imports

  • GetInstArgs
  • Mode
  • PackageLock
  • SourceManager

Local Functions

local GetExtraURLs (list<string> registered) -> list<string>

Dowload and parse content files from current installation sources

Parameters:
registered URLs of already registered repositories (they will be ignored to not register the same repository one more)
Return value:
Extra URLs to register
local RegisterRepos (list<string> url_list) -> list<integer>

Register the installation sources in offline mode (no network connection required). The repository metadata will be downloaded by sw_single (or another yast module) when the repostory is enabled

Parameters:
url_list list of the sources to register
Return value:
list of created source IDs