aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Ochotnicky <sochotnicky@gmail.com>2009-06-26 14:35:42 +0200
committerStanislav Ochotnicky <sochotnicky@gmail.com>2009-06-26 14:35:42 +0200
commitdbe87dc6e18a1363315f06423f0d4476eca7cf7b (patch)
tree9f0b13d8536ec0997fb760d6f9b51da3412f666f
parentBase change for tinderbox to compile inside chroot (diff)
downloadcollagen-dbe87dc6e18a1363315f06423f0d4476eca7cf7b.tar.gz
collagen-dbe87dc6e18a1363315f06423f0d4476eca7cf7b.tar.bz2
collagen-dbe87dc6e18a1363315f06423f0d4476eca7cf7b.zip
Enable manual changes to BASE_CHROOT
By deleting BASE_CHROOT.tar and modifying BASE_CHROOT we can modify further WORK_CHROOTs created
-rwxr-xr-xutil/mktinderboxchroot.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/mktinderboxchroot.sh b/util/mktinderboxchroot.sh
index 7ec4198..c541ecf 100755
--- a/util/mktinderboxchroot.sh
+++ b/util/mktinderboxchroot.sh
@@ -113,6 +113,9 @@ else
fi
echo Done
+fi
+
+if [ ! -f "BASE_CHROOT.tar" ];then
echo -n "Creating tar from $BASE_CHROOT..."
tar cf "$BASE_CHROOT.tar" -C "$BASE_CHROOT" .
if [ $? -ne 0 ];then
@@ -123,7 +126,6 @@ else
echo Done
fi
-
clean_work_chroot
echo -n "Untaring base chroot to work chroot now"