Using bookworm, in my lb config I specified, amongst other things:
--chroot-squashfs-compression-type lz4 --chroot-squashfs-compression-level
hc

However, when during the lb build, I am getting the following error:
mksquashfs: Unrecognised compressor option -Xcompression-level
mksquashfs: selected compressor "lz4".  Options supported:
 -Xhc
Compress using LZ4 High Compression
E: An unexpected failure occurred, exiting...

In config/chroot I have the below:
# Set chroot squashfs compression level
LB_CHROOT_SQUASHFS_COMPRESSION_LEVEL="hc"

# Set chroot squashfs compression type
LB_CHROOT_SQUASHFS_COMPRESSION_TYPE="lz4"

What am I missing please?

Reply via email to