summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorjnqnfe <jnqnfe@gmail.com>2015-01-07 22:14:56 +0000
committerRaphaƫl Hertzog <hertzog@debian.org>2020-03-05 11:12:56 +0000
commiteac4757a897a3c0feb3e8243beb1d67e44f2ec82 (patch)
treed51e0f9bf5e53e2d4453bf30feff31bc9ff464cb /scripts
parent769cf6e7b7fc40ba424994b3747222a4db369f43 (diff)
downloadvyos-live-build-eac4757a897a3c0feb3e8243beb1d67e44f2ec82.tar.gz
vyos-live-build-eac4757a897a3c0feb3e8243beb1d67e44f2ec82.zip
binary_rootfs: fix deletion of excludes file from wrong location in squashfs after use
Closes: #952849
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/binary_rootfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/binary_rootfs b/scripts/build/binary_rootfs
index d50cf3b43..bfa605f38 100755
--- a/scripts/build/binary_rootfs
+++ b/scripts/build/binary_rootfs
@@ -354,7 +354,7 @@ case "${LB_CHROOT_FILESYSTEM}" in
# Create image
Chroot chroot "nice -n 19 mksquashfs chroot filesystem.squashfs ${MKSQUASHFS_OPTIONS}"
- rm -f chroot/chroot/excludes
+ rm -f chroot/excludes
du -B 1 -s chroot/chroot | cut -f1 > binary/${INITFS}/filesystem.size