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