[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shrinking the squashfs image size



Am 18.02.2017 um 16:30 schrieb intrigeri:

> 
> Either use a chroot local hook, or list these files to a SquashFS
> exclude config file passed to mksquashfs via the -ef in
> $MKSQUASHFS_OPTIONS.
> 
>> Also, I would like to run mksquashfs with additional parameters
>> -b 1048576 -comp xz
>> as that seems to shrink the image even further, thus reducing transfer
>> times (even though RAM usage will probably be the same).
> 
>> Where would I specify that?
> 
> Use the MKSQUASHFS_OPTIONS environment variable.
> 
> FWIW, in Tails we determined experimentaly that these settings were
> the most efficient in our case:
> 
>   -comp xz -Xbcj x86 -b 1024K -Xdict-size 1024K

That shaves off another 4 Megabytes. Nice! Thank you.

Also thanks to Ginger_M for pointing out the hooks chroot approach.

Kind Regards,
Stefan Baur


Reply to: