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