Thanks for the params.
Code: Select all
mksq_opt=-comp lz4 -Xhc
Code: Select all
mksq_opt=-comp lz4 -Xhc
Although it's enabled in the kernel configuration, debian's mkinitramfs command doesn't support lz4The Liquorix kernels we've been porting have used lz4 since 4.12. I'm not sure what this means in the Debian kernel changelog, but we have it in the 4.14 and 4.15 ports we've also done:Code: Select all
* Enable SQUASHFS_LZ4 in default config.
https://wiki.archlinux.org/index.php/Mk ... OMPRESSION
The kernel supports several formats for compression of the initramfs—gzip, bzip2, lzma, xz (also known as lzma2), lzo, and lz4.
For most use cases, gzip, lzop, and lz4 provide the best balance of compressed image size and decompression speed.
The provided mkinitcpio.conf has the various COMPRESSION options commented out. Uncomment one to choose which compression format you desire.
to activate lz4, edit /etc/initramfs-tools/modules and add these at eol:skidoo wrote:.......Although it's enabled in the kernel configuration, debian's mkinitramfs command doesn't support lz4.....
Code: Select all
lz4
lz4_compress
zbud
Code: Select all
sudo modprobe -v lz4
sudo update-initramfs -u
sudo reboot