diff options
| author | Simon Rettberg | 2013-04-24 20:11:51 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2013-04-24 20:11:51 +0200 |
| commit | 3ea8042163cdd191db1237ede4cbb06f497c9fdc (patch) | |
| tree | 71293396ef12f3fd2ddd4cf57335f710498c4fda /helper | |
| parent | several suse fixes (login etc) (diff) | |
| parent | fix rsyslogd for ubuntu (hopefully not broken on suse :/) (diff) | |
| download | tm-scripts-3ea8042163cdd191db1237ede4cbb06f497c9fdc.tar.gz tm-scripts-3ea8042163cdd191db1237ede4cbb06f497c9fdc.tar.xz tm-scripts-3ea8042163cdd191db1237ede4cbb06f497c9fdc.zip | |
Super duper merge
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}') |
