summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-11-11 13:15:46 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:48 +0100
commit9b38ed621ec14bc513573aed24d6f167e113e892 (patch)
tree3a09c99c51cb1c31dc3b834da20b0ddeb0d97dee
parentc9943f079f8ec1393adf475c7a0bdad6ec9a4364 (diff)
downloadvyos-live-build-9b38ed621ec14bc513573aed24d6f167e113e892.tar.gz
vyos-live-build-9b38ed621ec14bc513573aed24d6f167e113e892.zip
Simplyfing chroot copying in lh_binary_chroot.
-rwxr-xr-xhelpers/lh_binary_chroot4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_binary_chroot b/helpers/lh_binary_chroot
index 20239419a..cef600edf 100755
--- a/helpers/lh_binary_chroot
+++ b/helpers/lh_binary_chroot
@@ -88,13 +88,13 @@ if [ -d cache/stages_bootstrap ]
then
${LH_ROOT_COMMAND} mv chroot chroot.tmp
${LH_ROOT_COMMAND} cp -a cache/stages_bootstrap chroot
- ${LH_ROOT_COMMAND} mv chroot.tmp chroot/chroot
${LH_ROOT_COMMAND} touch chroot/chroot.cache
else
${LH_ROOT_COMMAND} cp -a chroot chroot.tmp
- ${LH_ROOT_COMMAND} mv chroot.tmp chroot/chroot
fi
+${LH_ROOT_COMMAND} mv chroot.tmp chroot/chroot
+
if [ -f config/binary_rootfs/exclude ]
then
# Read exclude file and expand wildcards.