Package selections |
Packages.ycp |
|
|
This module has an unstable interface. |
Force full proposal routine next run
repository has been initialized?
repository initialization is WIP
Error which occurred during repository initialization
Packages to be selected when proposing the list
List selected resolvables of specified kind
- Parameters:
-
what symbol specifying the kind of resolvables to select format string format string to print summaries in
- Return value:
-
a list of selected resolvables
Count the total size of packages to be installed
- Return value:
-
formatted size of packages to be installed
Count the total size of packages to be installed
- Return value:
-
size of packages to be installed (in bytes)
Return information about suboptimal distribution if relevant
- Return value:
-
the information string or empty string
Return the summary output lines
- Parameters:
-
flags a list of flags, allowed are `product, `pattern, `selection, `size, `desktop
- Return value:
-
a list of the output lines
Check if selected software fits on the partitions
- Parameters:
-
init boolean true if partition sizes have changed
- Return value:
-
true if selected software fits, false otherwise
Checks which products have been selected for removal and modifies the warning messages accordingly.
- Parameters:
-
ret
Print the installatino proposal summary
- Parameters:
-
flags a list of symbols, see above use_cache
Reset package selection, but keep objects of specified type
- Parameters:
-
keep a list of symbols specifying type of objects to be kept
Initialize add-on products provided by the repository
Add a package to list to be selected before proposal Can be called only before the installation proposal, later doesn't have any effect. OBSOLETE! Please, use PackagesProposal::AddResolvables() instead.
- Parameters:
-
package string package to be selected
Compute architecture packages
- Return value:
-
(string)
graphicPackages () Compute graphic (x11) packages
- Return value:
-
(string) list of rpm packages needed
Compute special packages
- Return value:
-
(string)
Compute special java packages
- Return value:
-
(string)
Compute board (vendor) dependant packages
- Return value:
-
(string)
Compute packages required to access the repository
- Return value:
-
(string) list of the required packages
Build and return list of packages which depends on the the current target system and the preselected packages (architecture, X11....)
- Return value:
-
packages
Check whether content file in the specified repository is the same as the one in the ramdisk
- Parameters:
-
source integer the repository ID to check
- Return value:
-
true if content files match
Import GPG keys found in the inst-sys
Returns ID of the base product repository.
- Return value:
-
base source ID
Adjusts repository name according to LABEL in content file or a first product found on the media (as a fallback).
- Parameters:
-
src_id
- Return value:
-
if successful
- See
-
BNC #481828
Initialize the repositories
- Parameters:
-
show_popup boolean true to display information about initialization
Select the base product on the media for installation
- Return value:
-
true on success
Select system patterns
- Parameters:
-
reselect boolean true to select only those which are alrady selected
Select system packages
- Parameters:
-
reselect boolean true to select only those which are alrady selected
Make a proposal for package selection
- Parameters:
-
force_reset reinit simple
- Return value:
-
for the API proposal
Initialize the repositories with popup feedback Use Packages::Initialize (true) instead