dracut.sh: add legacy flag (-l) to lz4
PATCH 1/1 dracut.sh: add legacy flag (-l) to lz4
Linux kernel does not support the new default lz4 format.
https://bugs.gentoo.org/show_bug.cgi?id=502102
--- dracut.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
dracut.sh +1 -1
@@ -782,7 +782,7 @@ case $compress in xz) compress="xz --check=crc32 --lzma2=dict=1MiB -T0";; gzip) compress="gzip -9"; command -v pigz > /dev/null 2>&1 && compress="pigz -9";; lzo) compress="lzop -9";; - lz4) compress="lz4 -9";; + lz4) compress="lz4 -l -9";; esac if [[ $_no_compress_l = "cat" ]]; then compress="cat"
Signature · 1 line
1.8.3.2
A message that is not in the archive (sent off-list or not yet received): [email protected]
Op 26 feb. 2014, om 11:20 heeft Alexander Tsoy <alexander-EP/[email protected]> het volgende geschreven:
Quoted 12 lines
Linux kernel does not support the new default lz4 format.
https://bugs.gentoo.org/show_bug.cgi?id=502102
---dracut.sh| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)dracut.sh +0
-0
dracut.sh case $compress in · line 785
Quoted 5 lines
dracut.sh +1
-1@@ -782,7 +782,7 @@ case $compress in xz) compress="xz --check=crc32 --lzma2=dict=1MiB -T0";; gzip) compress="gzip -9"; command -v pigz > /dev/null 2>&1 && compress="pigz -9";; lzo) compress="lzop -9";; - lz4) compress="lz4 -9";; + lz4) compress="lz4 -l -9";;
Does the magic number need updating as well?
regards,
Koen--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 0067BAB6-F3BF-4831-940E-3C0D1F1F17DD-QLwJDigV5abLmq1fohREcCpxlwaOVQ5f@public.gmane.org
В Wed, 26 Feb 2014 12:12:30 +0100
Koen Kooi <[email protected]> пишет:
Quoted 10 lines
Op 26 feb. 2014, om 11:20 heeft Alexander Tsoy <alexander-EP/[email protected]> het volgende geschreven:
Quoted 7 lines
Linux kernel does not support the new default lz4 format.
https://bugs.gentoo.org/show_bug.cgi?id=502102
---dracut.sh| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 12 lines
dracut.sh case $compress in · line 785
Quoted 10 lines
dracut.sh +1
-1@@ -782,7 +782,7 @@ case $compress in xz) compress="xz --check=crc32 --lzma2=dict=1MiB -T0";; gzip) compress="gzip -9"; command -v pigz > /dev/null 2>&1 && compress="pigz -9";; lzo) compress="lzop -9";; - lz4) compress="lz4 -9";; + lz4) compress="lz4 -l -9";;Does the magic number need updating as well?
Yes, thanks! I'll fix this in v2.
Quoted 4 lines
regards,
Koen
Signature · 1 line
Alexander Tsoy