summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorRoland Clobus <rclobus@rclobus.nl>2021-03-17 11:08:38 +0100
committerLuca Boccassi <bluca@debian.org>2021-03-29 09:08:35 +0000
commit3cc60e4f6433da0850cbd31013a4478e8086939f (patch)
tree70f6be455cca8b46852012b83bcb21e30f5db5a0 /scripts/build
parent745b2be876b50b5033c7d2514facb5b71799c9ae (diff)
downloadvyos-live-build-3cc60e4f6433da0850cbd31013a4478e8086939f.tar.gz
vyos-live-build-3cc60e4f6433da0850cbd31013a4478e8086939f.zip
Removed filesystem.size for squashfs images.
See for more details https://lists.debian.org/debian-live/2021/03/msg00008.html
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/binary_rootfs4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/build/binary_rootfs b/scripts/build/binary_rootfs
index 354fc8d87..802bee9d7 100755
--- a/scripts/build/binary_rootfs
+++ b/scripts/build/binary_rootfs
@@ -320,8 +320,6 @@ case "${LB_CHROOT_FILESYSTEM}" in
rm -f chroot/excludes
- du -B 1 -s chroot/chroot | cut -f1 > binary/${INITFS}/filesystem.size
-
# Move image
mv chroot/filesystem.squashfs binary/${INITFS}
rm -f chroot/squashfs.sort
@@ -354,8 +352,6 @@ case "${LB_CHROOT_FILESYSTEM}" in
fi
nice -n 19 mksquashfs chroot binary/${INITFS}/filesystem.squashfs ${MKSQUASHFS_OPTIONS}
-
- du -B 1 -s chroot | cut -f1 > binary/${INITFS}/filesystem.size
;;
esac