summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/dracut/files/040-0006-Don-t-pass-rsyncable-option-to-gzip-Ge.patch')
-rw-r--r--sys-kernel/dracut/files/040-0006-Don-t-pass-rsyncable-option-to-gzip-Ge.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/sys-kernel/dracut/files/040-0006-Don-t-pass-rsyncable-option-to-gzip-Ge.patch b/sys-kernel/dracut/files/040-0006-Don-t-pass-rsyncable-option-to-gzip-Ge.patch
new file mode 100644
index 000000000000..1ade9bd1e94c
--- /dev/null
+++ b/sys-kernel/dracut/files/040-0006-Don-t-pass-rsyncable-option-to-gzip-Ge.patch
@@ -0,0 +1,26 @@
+From ff57ba111c03957d4a68459efd91322c24223861 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Amadeusz=20=C5=BBo=C5=82nowski?= <aidecoe@aidecoe.name>
+Date: Sat, 1 Nov 2014 22:25:07 +0100
+Subject: [PATCH 6/6] Don't pass --rsyncable option to gzip - Gentoo gzip
+ doesn't support it
+
+---
+ dracut.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/dracut.sh b/dracut.sh
+index 08f27eb..17be895 100755
+--- a/dracut.sh
++++ b/dracut.sh
+@@ -822,7 +822,7 @@ case $compress in
+ bzip2) compress="bzip2 -9";;
+ lzma) compress="lzma -9 -T0";;
+ xz) compress="xz --check=crc32 --lzma2=dict=1MiB -T0";;
+- gzip) compress="gzip -n -9 --rsyncable"; command -v pigz > /dev/null 2>&1 && compress="pigz -9 -n -T -R";;
++ gzip) compress="gzip -n -9"; command -v pigz > /dev/null 2>&1 && compress="pigz -9 -n -T -R";;
+ lzo) compress="lzop -9";;
+ lz4) compress="lz4 -l -9";;
+ esac
+--
+2.1.3
+