Accepting request 230126 from Kernel:kdump
use xz -0 compression for kdumprd (forwarded request 230125 from ptesarik) OBS-URL: https://build.opensuse.org/request/show/230126 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kdump?expand=0&rev=67
This commit is contained in:
commit
ba830cd013
20
kdump-0.8.10-dracut-xz-opt.patch
Normal file
20
kdump-0.8.10-dracut-xz-opt.patch
Normal file
@ -0,0 +1,20 @@
|
||||
From: Petr Tesarik <ptesarik@suse.cz>
|
||||
Subject: Use fast xz compression with dracut
|
||||
References: bnc#870549
|
||||
Patch-mainline: queued for v0.8.11
|
||||
|
||||
Signed-off-by: Petr Tesarik <ptesarik@suse.cz>
|
||||
---
|
||||
init/mkdumprd | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
--- a/init/mkdumprd
|
||||
+++ b/init/mkdumprd
|
||||
@@ -124,6 +124,7 @@ function run_dracut()
|
||||
. /lib/kdump/setup-kdump.functions
|
||||
|
||||
DRACUT_ARGS="--force --hostonly --omit 'systemd plymouth resume usrmount'"
|
||||
+ DRACUT_ARGS="$DRACUT_ARGS --compress='xz -0 --check=crc32'"
|
||||
|
||||
# add mount points
|
||||
kdump_get_mountpoints || return 1
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 15 06:26:08 UTC 2014 - ptesarik@suse.cz
|
||||
|
||||
- kdump-0.8.10-dracut-xz-opt.patch: Use fast xz compression with
|
||||
dracut (bnc#870549).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 28 13:15:08 UTC 2014 - ptesarik@suse.cz
|
||||
|
||||
|
@ -59,6 +59,7 @@ PreReq: %insserv_prereq %fillup_prereq mkinitrd
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source2: %{name}-%{version}-rpmlintrc
|
||||
Source3: kdump.service
|
||||
Patch1: %{name}-%{version}-dracut-xz-opt.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# rename "kdump-helpers" (10.3) -> "kdump" (11.0/SP2)
|
||||
Provides: kdump-helpers = %{version}
|
||||
@ -96,6 +97,7 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%optflags"
|
||||
|
Loading…
x
Reference in New Issue
Block a user