lb_binary_layered: use create_squashfs function to pick up some default excludes

This commit is contained in:
Michael Hudson-Doyle 2021-06-25 10:24:30 +12:00
parent 30cc2f1982
commit e4ca30e351

View File

@ -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