summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_hooks
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_hooks')
-rwxr-xr-xscripts/build/chroot_hooks6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/chroot_hooks b/scripts/build/chroot_hooks
index 125b77ec3..eb113bb6a 100755
--- a/scripts/build/chroot_hooks
+++ b/scripts/build/chroot_hooks
@@ -105,12 +105,12 @@ then
# Saving cache
Save_package_cache chroot
-
- # Creating stage file
- Create_stagefile .build/chroot_hooks
fi
# Remove bind mount of build config inside chroot.
umount chroot/live-build/config
rmdir chroot/live-build/config
rmdir chroot/live-build
+
+# Creating stage file
+Create_stagefile .build/chroot_hooks