From 5905ad3780b557b137d9c9ced0f546d01016967ee26fd4c8f8e0110e149deb8b Mon Sep 17 00:00:00 2001 From: Tony Jones Date: Tue, 15 Dec 2015 16:26:27 +0000 Subject: [PATCH] Accepting request 349017 from home:tiwai:branches:Kernel:kdump - Fix missing dependency on coreutils for initrd macros (boo#958562) - Call missing initrd macro at postun (boo#958562) OBS-URL: https://build.opensuse.org/request/show/349017 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kexec-tools?expand=0&rev=68 --- kexec-tools.changes | 6 ++++++ kexec-tools.spec | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/kexec-tools.changes b/kexec-tools.changes index 243fdee..26c91c6 100644 --- a/kexec-tools.changes +++ b/kexec-tools.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 10 16:33:20 CET 2015 - tiwai@suse.de + +- Fix missing dependency on coreutils for initrd macros (boo#958562) +- Call missing initrd macro at postun (boo#958562) + ------------------------------------------------------------------- Tue Oct 6 09:34:20 UTC 2015 - ptesarik@suse.com diff --git a/kexec-tools.spec b/kexec-tools.spec index 3e833ac..df56f48 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -22,7 +22,9 @@ BuildRequires: gcc-64bit BuildRequires: glibc-devel-64bit %endif Requires: perl-Bootloader -PreReq: %fillup_prereq +Requires(pre): %fillup_prereq +Requires(post): coreutils +Requires(postun): coreutils Summary: Tools for fast kernel loading License: GPL-2.0+ Group: System/Kernel @@ -107,6 +109,7 @@ ln -s %{_sbindir}/kexec $RPM_BUILD_ROOT/sbin %postun %service_del_postun kexec-load.service +%{?regenerate_initrd_post} %pre %service_add_pre kexec-load.service