diff options
author | Sebastian Schmelzer | 2011-05-19 10:43:27 +0200 |
---|---|---|
committer | Sebastian Schmelzer | 2011-05-19 10:43:27 +0200 |
commit | 888b7582ad1cbe20248c27b4123e226348ef6b3f (patch) | |
tree | b53070aaafc062798bb648871a3dc6b3d3968621 /inc | |
parent | add env module .. not finished .. (diff) | |
download | usb-boot-stick-888b7582ad1cbe20248c27b4123e226348ef6b3f.tar.gz usb-boot-stick-888b7582ad1cbe20248c27b4123e226348ef6b3f.tar.xz usb-boot-stick-888b7582ad1cbe20248c27b4123e226348ef6b3f.zip |
env fixes ..
Diffstat (limited to 'inc')
-rw-r--r-- | inc/functions.env.sh | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/inc/functions.env.sh b/inc/functions.env.sh index 56cc49c..ab36fb7 100644 --- a/inc/functions.env.sh +++ b/inc/functions.env.sh @@ -101,14 +101,17 @@ read_params() { run () { - set_quiet + #set_quiet + + if [ "x$CLEAN" = "x1" ]; then + [ "x$TARGET_INIT" = "x1" ] && rm -rf $ROOT_DIR/contrib/syslinux/sys* + [ "x$TARGET_KERNEL" = "x1" ] && rm -rf $ROOT_DIR/build/linux-* + fi - pre_start_cleanup - setup_dir_structure - copy_files - create_iso + [ "x$TARGET_KERNEL" = "x1" ] && $ROOT_DIR/bin/build.kernel.sh + [ "x$TARGET_INIT" = "x1" ] && $ROOT_DIR/bin/build.initramfs.sh - unset_quiet + #unset_quiet - pinfo "FINISHED: ISO can be found here: $ROOT_DIR/openslx.iso!" -}
\ No newline at end of file + pinfo "FINISHED" +} |