summaryrefslogtreecommitdiff
path: root/scripts/build/lb_binary_chroot
diff options
context:
space:
mode:
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