diff options
Diffstat (limited to 'helper')
| -rw-r--r-- | helper/fileutil.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/helper/fileutil.inc b/helper/fileutil.inc index ba1be103..f4cfe298 100644 --- a/helper/fileutil.inc +++ b/helper/fileutil.inc @@ -79,6 +79,10 @@ copy_static_data() { cp -r "${MODULE_DIR}/data/"* ${TARGET_BUILD_DIR} || perror "Could not copy static data of ${MODULE}" } +copy_system_files() { + [ ! -z "$REQUIRED_SYSTEM_FILES" ] && tarcopy "$REQUIRED_SYSTEM_FILES" "$TARGET_BUILD_DIR" +} + calc_size() { local CURRENT_BUILD_SIZE=$(du -bc "${TARGET_BUILD_DIR}" | awk 'END {print $1}') |
