173. Packages

173.1. Summary of Module Globals

List of Global Functions

  • CheckContentFile - Check whether content file in the specified source 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....)

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

  • InfoAboutSubOptimalDistribution - Return information about suboptimal distribution if relevant

  • Initialize - Initialize the installation sources

  • InitializeAddOnProducts - Initialize add-on products provided by the installation source

  • InitializeCatalogs - Initialize the catalogs 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

    173.2. Global Functions

    173.2.1. CheckContentFile

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

    Function parameters

    • integer source

    Return value

    • boolean - true if content files match

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

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

    173.2.4. CountSizeToBeInstalled

    Count the total size of packages to be installed

    Return value

    • string - formatted size of packages to be installed

    173.2.5. InfoAboutSubOptimalDistribution

    Return information about suboptimal distribution if relevant

    Return value

    • string - the information string or empty string

    173.2.6. Initialize

    Initialize the installation sources

    Function parameters

    • boolean show_popup

    Return value

    • void

    173.2.7. InitializeAddOnProducts

    Initialize add-on products provided by the installation source

    Return value

    • void

    173.2.8. InitializeCatalogs

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

    Return value

    • void

    173.2.9. ListSelected

    List selected resolvables of specified kind

    Function parameters

    • symbol what

    • string format

    Return value

    • list<string> - a list of selected resolvables

    173.2.10. Proposal

    Make a proposal for package selection

    Function parameters

    • boolean force_reset

    • boolean reinit

    • boolean simple

    Return value

    • map - for the API proposal

    173.2.11. Reset

    Reset package selection, but keep objects of specified type

    Function parameters

    • list<symbol> keep

    Return value

    • void

    173.2.12. SelectProduct

    Select the base product on the media for installation

    Return value

    • boolean - true on success

    173.2.13. Summary

    Print the installatino proposal summary

    Function parameters

    • list<symbol> flags

    • boolean use_cache

    Return value

    • map

    173.2.14. SummaryOutput

    Return the summary output lines

    Function parameters

    • list<symbol> flags

    Return value

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

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

    173.3. Global Variables

    173.4. Module Requirements

    173.4.1. Module Imports

    • AddOnProduct
    • Arch
    • DefaultDesktop
    • DirInstall
    • Directory
    • InstURL
    • Kernel
    • Label
    • Language
    • Linuxrc
    • Mode
    • PackageCallbacks
    • PackageCallbacksInit
    • Popup
    • Product
    • ProductControl
    • ProductFeatures
    • Report
    • SlideShow
    • SourceDialogs
    • SpaceCalculation
    • Stage
    • Storage
    • String
    • Wizard

    173.4.2. Module Includes