Functionality for downloading and merging extending images for the inst-sys
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
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
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)
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