From fd153cd5afbb32346a13999a4aa41940cba2a4b5 Mon Sep 17 00:00:00 2001 From: Apachez Date: Tue, 12 Sep 2023 15:10:19 +0200 Subject: [PATCH 1/3] Add logging for which mksquashfs syntax is being used --- scripts/build/binary_rootfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build/binary_rootfs b/scripts/build/binary_rootfs index 080ee158e..47f1e7a8b 100755 --- a/scripts/build/binary_rootfs +++ b/scripts/build/binary_rootfs @@ -333,8 +333,8 @@ case "${LB_CHROOT_FILESYSTEM}" in fi # Create image + Echo_message "Using: nice -n 17 mksquashfs chroot filesystem.squashfs ${MKSQUASHFS_OPTIONS}" Chroot chroot "nice -n 17 mksquashfs chroot filesystem.squashfs ${MKSQUASHFS_OPTIONS}" - rm -f chroot/excludes # Move image @@ -343,7 +343,7 @@ case "${LB_CHROOT_FILESYSTEM}" in # Removing depends Remove_packages - + if [ -e chroot/chroot.cache ] then Remove_lockfile From 510ef8ad808d2a2ae572c3a5ca8056bdcfbe8d62 Mon Sep 17 00:00:00 2001 From: Apachez Date: Tue, 12 Sep 2023 17:05:36 +0000 Subject: [PATCH 2/3] Update binary_rootfs --- scripts/build/binary_rootfs | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build/binary_rootfs b/scripts/build/binary_rootfs index 47f1e7a8b..7f4af65f5 100755 --- a/scripts/build/binary_rootfs +++ b/scripts/build/binary_rootfs @@ -335,6 +335,7 @@ case "${LB_CHROOT_FILESYSTEM}" in # Create image Echo_message "Using: nice -n 17 mksquashfs chroot filesystem.squashfs ${MKSQUASHFS_OPTIONS}" Chroot chroot "nice -n 17 mksquashfs chroot filesystem.squashfs ${MKSQUASHFS_OPTIONS}" + rm -f chroot/excludes # Move image From 3141cc43fd3cd4947fff178ef2d09e432f5f1c90 Mon Sep 17 00:00:00 2001 From: Apachez Date: Tue, 12 Sep 2023 17:15:00 +0000 Subject: [PATCH 3/3] Update binary_rootfs --- scripts/build/binary_rootfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build/binary_rootfs b/scripts/build/binary_rootfs index 7f4af65f5..57e3503e2 100755 --- a/scripts/build/binary_rootfs +++ b/scripts/build/binary_rootfs @@ -335,7 +335,7 @@ case "${LB_CHROOT_FILESYSTEM}" in # Create image Echo_message "Using: nice -n 17 mksquashfs chroot filesystem.squashfs ${MKSQUASHFS_OPTIONS}" Chroot chroot "nice -n 17 mksquashfs chroot filesystem.squashfs ${MKSQUASHFS_OPTIONS}" - + rm -f chroot/excludes # Move image @@ -344,7 +344,7 @@ case "${LB_CHROOT_FILESYSTEM}" in # Removing depends Remove_packages - + if [ -e chroot/chroot.cache ] then Remove_lockfile