YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Imports

  • GetInstArgs
  • Icon
  • Installation
  • Label
  • Mode
  • NetworkService
  • PackageLock
  • PackagesUI
  • ProductControl
  • ProductFeatures

Local Functions

Info:

File: clients/inst_extrasources.ycp Package: yast2-installation Summary: Automatically register software repositories from content file Authors: Ladislav Slezák Lukas Ocilka

This client loads the target and initializes the package manager. Adds all sources defined in control file (software->extra_urls) and stores them at the end.

local GetURLsToRegister (list <string> registered) -> list <map>

Returns list of maps of repositories to register. See bnc #381360.

Parameters:
registered URLs of already registered repositories (they will be ignored to not register the same repository one more)
Return value:
of URLs to register
local RegisterRepos (list <map> 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
Return value:
list of created source IDs
local RegisteredUrls () -> list<string>

Returns list of already registered repositories.

Return value:
of registered repositories