Installation |
modules/SystemFilesCopy.ycp |
Functionality for copying files from another systems | |
|
|
This module has an unstable interface. |
Functionality for copying files from any not-mounted systems
to inst-sys and from inst-sys to just-installed system.
Imports
Structures
Global Functions
Local VariablesLocal Functions |
Structure [
[ archive_name, copy_to ], [ "/tmp/archive_001.tgz", "/etc" ], ]
Checks whether the directory exists and creates it if it is missing If the path exists but it is not a directory, it tries to create another directory and returns its name. 'nil' is returned when everythig fails.
- Parameters:
-
create_directory
Sets and creates a temporary directory for files to lay in inst-sys until they're copied to the installed system. Sets and creates a temporary directory that is used for mounting partitions when copying files from them.
Mounts the partition and proceeds the copying files from that partition to the inst-sys.
Structure copy_to == "/root/" (where to copy it to the installed system)
- Parameters:
-
partition filenames copy_to
Proceeds the copying of all files in inst-sys (that were copied from another partition before) to the directory.