dracut/0151-Go-back-to-xz-again-pixz-may-use-too-much-memory-whi.patch

29 lines
952 B
Diff
Raw Normal View History

From f25f24d6b13061b952d5420939898fe9d5496804 Mon Sep 17 00:00:00 2001
From: Thomas Renninger <trenn@suse.de>
Date: Fri, 29 Aug 2014 16:17:50 +0200
Subject: Go back to xz again, pixz may use too much memory while compressing.
bnc#893981
Signed-off-by: Thomas Renninger <trenn@suse.de>
---
dracut.conf.d/suse.conf.example | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dracut.conf.d/suse.conf.example b/dracut.conf.d/suse.conf.example
index 818b59f..b0ef0e5 100644
--- a/dracut.conf.d/suse.conf.example
+++ b/dracut.conf.d/suse.conf.example
@@ -7,7 +7,7 @@
hostonly="yes"
hostonly_cmdline="yes"
-compress="pixz -6"
+compress="xz -0 --check=crc32 --memlimit-compress=50%"
i18n_vars="/etc/sysconfig/language:RC_LANG-LANG,RC_LC_ALL-LC_ALL /etc/sysconfig/console:CONSOLE_UNICODEMAP-FONT_UNIMAP,CONSOLE_FONT-FONT,CONSOLE_SCREENMAP-FONT_MAP /etc/sysconfig/keyboard:KEYTABLE-KEYMAP"
omit_drivers+=" i2o_scsi"
--
1.7.6.1