200. Packages

200.1. 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

  • 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

  • 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

List of Global Variables

    200.2. Global Functions

    200.2.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

    200.2.2. CheckDiskSize

    Check if selected software fits on the partitions

    Function parameters

    • boolean init

    Return value

    • boolean - true if selected software fits, false otherwise

    200.2.3. 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

    200.2.4. CountSizeToBeDownloaded

    Count the total size of packages to be installed

    Return value

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

    200.2.5. CountSizeToBeInstalled

    Count the total size of packages to be installed

    Return value

    • string - formatted size of packages to be installed

    200.2.6. InfoAboutSubOptimalDistribution

    Return information about suboptimal distribution if relevant

    Return value

    • string - the information string or empty string

    200.2.7. Initialize

    Initialize the repositories

    Function parameters

    • boolean show_popup

    Return value

    • void

    200.2.8. InitializeAddOnProducts

    Initialize add-on products provided by the repository

    Return value

    • void

    200.2.9. InitializeCatalogs

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

    Return value

    • void

    200.2.10. ListSelected

    List selected resolvables of specified kind

    Function parameters

    • symbol what

    • string format

    Return value

    • list<string> - a list of selected resolvables

    200.2.11. Proposal

    Make a proposal for package selection

    Function parameters

    • boolean force_reset

    • boolean reinit

    • boolean simple

    Return value

    • map - for the API proposal

    200.2.12. Reset

    Reset package selection, but keep objects of specified type

    Function parameters

    • list<symbol> keep

    Return value

    • void

    200.2.13. SelectProduct

    Select the base product on the media for installation

    Return value

    • boolean - true on success

    200.2.14. Summary

    Print the installatino proposal summary

    Function parameters

    • list<symbol> flags

    • boolean use_cache

    Return value

    • map

    200.2.15. SummaryOutput

    Return the summary output lines

    Function parameters

    • list<symbol> flags

    Return value

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

    200.2.16. 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

    Function parameters

    • string package

    Return value

    • void

    200.3. Global Variables

    200.4. Module Requirements

    200.4.1. Module Imports

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

    200.4.2. Module Includes

    • packager/load_release_notes.ycp