]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blame - src/patches/dracut-006_lzma.patch
Add a patch for speedup cache writeback.
[people/teissler/ipfire-2.x.git] / src / patches / dracut-006_lzma.patch
CommitLineData
642c85b9
AF
1diff -Naur dracut-006.org/dracut dracut-006/dracut
2--- dracut-006.org/dracut 2010-06-17 10:46:29.000000000 +0200
3+++ dracut-006/dracut 2010-08-07 21:00:38.000000000 +0200
4@@ -308,9 +308,7 @@
5 #strip -R .comment $note "$f" || :
6 done
7 fi
8-
9-type pigz &>/dev/null && gzip=pigz || gzip=gzip
10-( cd "$initdir"; find . |cpio -R 0:0 -H newc -o --quiet |$gzip -9 > "$outfile"; )
11+( cd "$initdir"; find . |cpio -R 0:0 -H newc -o --quiet | lzma > "$outfile"; )
12 if [ $? -ne 0 ]; then
13 derror "dracut: creation of $outfile failed"
14 exit 1