171. Packages

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

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

  • Init - Init() Initialize package module and package agent

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

  • InitializeCatalogs - Initialize the catalogs with popup feedback

  • 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

  • SetBaseSelection - SetBaseSelection (string base name)

  • 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

    171.2. Global Functions

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

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

    171.2.3. Init

    Init() Initialize package module and package agent

    Function parameters

    • boolean forceInit

    Return value

    • void - : 0 == ok, 1 == retry, -1 == error

    171.2.4. InitializeAddOnProducts

    Initialize add-on products provided by the installation source

    Return value

    • void

    171.2.5. InitializeCatalogs

    Initialize the catalogs with popup feedback

    Return value

    • void

    171.2.6. Proposal

    Make a proposal for package selection

    Function parameters

    • boolean force_reset

    • boolean reinit

    • boolean simple

    Return value

    • map - Map for the API proposal

    171.2.7. Reset

    Reset package selection, but keep objects of specified type

    Function parameters

    • list<symbol> keep

    Return value

    • void

    171.2.8. SelectProduct

    Select the base product on the media for installation

    Return value

    • boolean - true on success

    171.2.9. SetBaseSelection

    SetBaseSelection (string base name)

    Function parameters

    • string basename

    Return value

    • boolean

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

    171.3. Global Variables

    171.4. Module Requirements

    171.4.1. Module Imports

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

    171.4.2. Module Includes