summaryrefslogtreecommitdiff
path: root/scripts/build/lb_binary_chroot
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-06-04 10:52:28 +0200
committerDaniel Baumann <daniel@debian.org>2012-06-04 11:55:22 +0200
commit434307c22d192e1f937915b417615f62b3b6bead (patch)
tree70db63e31fe0d2284d11a220ea2b4ce2d461fc35 /scripts/build/lb_binary_chroot
parentead507b47ce7f51ff89fc2701c54e681447f096e (diff)
downloadvyos-live-build-434307c22d192e1f937915b417615f62b3b6bead.tar.gz
vyos-live-build-434307c22d192e1f937915b417615f62b3b6bead.zip
Updating cache directory names to consistent naming scheme.
Diffstat (limited to 'scripts/build/lb_binary_chroot')
-rwxr-xr-xscripts/build/lb_binary_chroot6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/lb_binary_chroot b/scripts/build/lb_binary_chroot
index 4314752d9..92e1667b6 100755
--- a/scripts/build/lb_binary_chroot
+++ b/scripts/build/lb_binary_chroot
@@ -73,7 +73,7 @@ then
exit 0
fi
-if [ "${LB_CACHE}" = "true" ] && Find_files cache/stages_rootfs/filesystem*
+if [ "${LB_CACHE}" = "true" ] && Find_files cache/binary_rootfs/filesystem*
then
exit 0
fi
@@ -85,10 +85,10 @@ ${LB_ROOT_COMMAND} rm -rf chroot/chroot
${LB_ROOT_COMMAND} rm -rf chroot.tmp
# Copying new chroot
-if [ -d cache/stages_bootstrap ] && [ "${LB_CHROOT_FILESYSTEM}" != "none" ]
+if [ -d cache/bootstrap ] && [ "${LB_CHROOT_FILESYSTEM}" != "none" ]
then
${LB_ROOT_COMMAND} mv chroot chroot.tmp
- ${LB_ROOT_COMMAND} cp -a cache/stages_bootstrap chroot
+ ${LB_ROOT_COMMAND} cp -a cache/bootstrap chroot
${LB_ROOT_COMMAND} touch chroot/chroot.cache
else
${LB_ROOT_COMMAND} cp -a chroot chroot.tmp