Functionality for copying files from another systems
List of Global Functions
CopyFilesToSystem - Proceeds the copying of all files in inst-sys (that were copied from another partition before) to the directory.
CopyFilesToTemp - Mounts the partition and proceeds the copying files from that partition to the inst-sys.
CreateDirectoryIfMissing - 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.
List of Global Variables
Proceeds the copying of all files in inst-sys (that were copied from another partition before) to the directory.
Return value
boolean
Mounts the partition and proceeds the copying files from that partition to the inst-sys.
Function parameters
string partition
list <string> filenames
string copy_to
Return value
boolean
copy_to == "/root/" (where to copy it to the installed system)
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.
Function parameters
string create_directory
Return value
string