Already tried that as well and also used -Xhc but with no luck :(

On Mon, 18 Nov 2024 at 19:50, AreYouLoco? <or...@paranoici.org> wrote:

> Try:
> LB_CHROOT_SQUASHFS_COMPRESSION_LEVEL="Xhc"
>
> As the error message clearly says ;-)
>
>
> On November 18, 2024 6:36:01 PM UTC, Robert Spiteri <rspiter...@gmail.com>
> wrote:
>
>> 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