mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
dracut: fix use own config / use lzma compression.
This commit is contained in:
14
src/patches/dracut-006_lzma.patch
Normal file
14
src/patches/dracut-006_lzma.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
diff -Naur dracut-006.org/dracut dracut-006/dracut
|
||||
--- dracut-006.org/dracut 2010-06-17 10:46:29.000000000 +0200
|
||||
+++ dracut-006/dracut 2010-08-07 21:00:38.000000000 +0200
|
||||
@@ -308,9 +308,7 @@
|
||||
#strip -R .comment $note "$f" || :
|
||||
done
|
||||
fi
|
||||
-
|
||||
-type pigz &>/dev/null && gzip=pigz || gzip=gzip
|
||||
-( cd "$initdir"; find . |cpio -R 0:0 -H newc -o --quiet |$gzip -9 > "$outfile"; )
|
||||
+( cd "$initdir"; find . |cpio -R 0:0 -H newc -o --quiet | lzma > "$outfile"; )
|
||||
if [ $? -ne 0 ]; then
|
||||
derror "dracut: creation of $outfile failed"
|
||||
exit 1
|
||||
Reference in New Issue
Block a user