From e4ca30e351c8f748d6c31400127146411a58aca7 Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Fri, 25 Jun 2021 10:24:30 +1200 Subject: [PATCH] lb_binary_layered: use create_squashfs function to pick up some default excludes --- live-build/lb_binary_layered | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/live-build/lb_binary_layered b/live-build/lb_binary_layered index f379ddc5..bea1a0fc 100755 --- a/live-build/lb_binary_layered +++ b/live-build/lb_binary_layered @@ -121,9 +121,7 @@ build_layered_squashfs () { cp "${squashfs_f_manifest}.full" "${prefix}.manifest" fi - (cd "overlay.${pass}/" && - mksquashfs . ${squashfs_f} \ - -no-progress -xattrs -comp xz ) + create_squashfs "overlay.${pass}" ${squashfs_f} if [ -n "$lowerdirs" ]; then umount chroot