197. Packages

197.1. Authors

  • Anas Nashif <nashif@suse.de>

197.2. Summary of Module Globals

List of Global Functions

  • CheckContentFile - Check whether content file in the specified repository is the same as the one in the ramdisk

  • CheckDiskSize - Check if selected software fits on the partitions

  • CheckOldAddOns - Checks which products have been selected for removal and modifies the warning messages accordingly.

  • ComputeSystemPackageList - Build and return list of packages which depends on the the current target system and the preselected packages (architecture, X11....)

  • CountSizeToBeDownloaded - Count the total size of packages to be installed

  • CountSizeToBeInstalled - Count the total size of packages to be installed

  • GetBaseSourceID - Returns ID of the base product repository.

  • InfoAboutSubOptimalDistribution - Return information about suboptimal distribution if relevant

  • Initialize - Initialize the repositories

  • InitializeAddOnProducts - Initialize add-on products provided by the repository

  • InitializeCatalogs - Initialize the repositories with popup feedback Use Packages::Initialize (true) instead

  • ListSelected - List selected resolvables of specified kind

  • Proposal - Make a proposal for package selection

  • Reset - Reset package selection, but keep objects of specified type

  • SelectProduct - Select the base product on the media for installation

  • Summary - Print the installatino proposal summary

  • SummaryOutput - Return the summary output lines

  • addAdditionalPackage - 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.

List of Global Variables

    197.3. Global Functions

    197.3.1. CheckContentFile

    Check whether content file in the specified repository is the same as the one in the ramdisk

    Function parameters

    • integer source

    Return value

    • boolean - true if content files match

    197.3.2. CheckDiskSize

    Check if selected software fits on the partitions

    Function parameters

    • boolean init

    Return value

    • boolean - true if selected software fits, false otherwise

    197.3.3. CheckOldAddOns

    Checks which products have been selected for removal and modifies the warning messages accordingly.

    Function parameters

    • map & ret

    Return value

    • void

    197.3.4. ComputeSystemPackageList

    Build and return list of packages which depends on the the current target system and the preselected packages (architecture, X11....)

    Return value

    • list<string> - packages

    197.3.5. CountSizeToBeDownloaded

    Count the total size of packages to be installed

    Return value

    • integer - size of packages to be installed (in bytes)

    197.3.6. CountSizeToBeInstalled

    Count the total size of packages to be installed

    Return value

    • string - formatted size of packages to be installed

    197.3.7. GetBaseSourceID

    Returns ID of the base product repository.

    Return value

    • integer - base source ID

    197.3.8. InfoAboutSubOptimalDistribution

    Return information about suboptimal distribution if relevant

    Return value

    • string - the information string or empty string

    197.3.9. Initialize

    Initialize the repositories

    Function parameters

    • boolean show_popup

    Return value

    • void

    197.3.10. InitializeAddOnProducts

    Initialize add-on products provided by the repository

    Return value

    • void

    197.3.11. InitializeCatalogs

    Initialize the repositories with popup feedback Use Packages::Initialize (true) instead

    Return value

    • void

    197.3.12. ListSelected

    List selected resolvables of specified kind

    Function parameters

    • symbol what

    • string format

    Return value

    • list<string> - a list of selected resolvables

    197.3.13. Proposal

    Make a proposal for package selection

    Function parameters

    • boolean force_reset

    • boolean reinit

    • boolean simple

    Return value

    • map - for the API proposal

    197.3.14. Reset

    Reset package selection, but keep objects of specified type

    Function parameters

    • list<symbol> keep

    Return value

    • void

    197.3.15. SelectProduct

    Select the base product on the media for installation

    Return value

    • boolean - true on success

    197.3.16. Summary

    Print the installatino proposal summary

    Function parameters

    • list<symbol> flags

    • boolean use_cache

    Return value

    • map

    197.3.17. SummaryOutput

    Return the summary output lines

    Function parameters

    • list<symbol> flags

    Return value

    • list<string> - a list of the output lines

    197.3.18. addAdditionalPackage

    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.

    Function parameters

    • string package

    Return value

    • void

    197.4. Global Variables

    197.5. Module Requirements

    197.5.1. Module Imports

    • AddOnProduct
    • Arch
    • DefaultDesktop
    • Directory
    • FileUtils
    • InstURL
    • Installation
    • Kernel
    • Label
    • Language
    • Linuxrc
    • Mode
    • PackageCallbacks
    • PackageCallbacks
    • PackagesProposal
    • Popup
    • Product
    • ProductControl
    • ProductFeatures
    • Report
    • SlideShow
    • Slides
    • SourceDialogs
    • SpaceCalculation
    • Stage
    • String
    • URL
    • Wizard
    • WorkflowManager

    197.5.2. Module Includes

    • packager/load_release_notes.ycp