98. InstExtensionImage

Functionality for downloading and merging extending images for the inst-sys

98.1. Summary of Module Globals

List of Global Functions

  • OldDesintegrateExtension - Reverse function to DownloadAndIntegrateExtension(). The only difference is that it doesn't upload the image from where it has been downloaded. It just umounts the image and removes it.

  • OldDisintegrateAllExtensions - Tries to disintegrate (umount, remove) all already used extensions. Nevertheless extensions already in use cannot be disintegrated.

  • OldDownloadAndIntegrateExtension - Downloads extension archive (file system image) and integrates it to the current system. Extension name (param) is relative to the 'InstsysURL' defined in '/etc/install.inf', but no "../" are processed/merged. See the example.

List of Global Variables

    98.2. Global Functions

    98.2.1. OldDesintegrateExtension

    Reverse function to DownloadAndIntegrateExtension(). The only difference is that it doesn't upload the image from where it has been downloaded. It just umounts the image and removes it.

    Function parameters

    • string extension

    Return value

    • boolean - if successful

    98.2.2. OldDisintegrateAllExtensions

    Tries to disintegrate (umount, remove) all already used extensions. Nevertheless extensions already in use cannot be disintegrated.

    Return value

    • boolean - whether successfull (almost always false)

    98.2.3. OldDownloadAndIntegrateExtension

    Downloads extension archive (file system image) and integrates it to the current system. Extension name (param) is relative to the 'InstsysURL' defined in '/etc/install.inf', but no "../" are processed/merged. See the example.

    Function parameters

    • string extension

    Return value

    • boolean - if successful

    Example 22. 

       // Let's assume that:
       // InstsysURL: http://example.org/SUSE/boot/ppc/root
       //
       UI::OpenDialog (`Label (_("Downloading ABC extension...")));
       DownloadAndIntegrateExtension ("some_dir/filename.squashfs");
       UI::CloseDialog();
       //
       // Downloads and integrates
       // http://example.org/SUSE/boot/ppc/some_dir/filename.squashfs
       
    


    98.3. Global Variables

    98.4. Module Requirements

    98.4.1. Module Imports

    • Directory
    • FileUtils
    • Linuxrc
    • Stage
    • String
    • URL

    98.4.2. Module Includes