diff --git a/kernel-firmware.changes b/kernel-firmware.changes index 50eb130..0bbae32 100644 --- a/kernel-firmware.changes +++ b/kernel-firmware.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Dec 10 15:57:48 CET 2015 - tiwai@suse.de + +- Fix dependencies for initrd macros (boo#958562) +- Fix missing dependency for ucode-amd, too (boo#958562) +- Call missing initrd macro at postun (boo#958562) + ------------------------------------------------------------------- Mon Nov 9 17:47:09 CET 2015 - tiwai@suse.de diff --git a/kernel-firmware.spec b/kernel-firmware.spec index 9cb1070..efd7cfa 100644 --- a/kernel-firmware.spec +++ b/kernel-firmware.spec @@ -37,8 +37,8 @@ Source2: ast_dp501_fw.bin %define __ksyms_path ^/lib/firmware BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -# We make use of mkdir and touch during pre -Requires(pre): coreutils +Requires(post): coreutils +Requires(postun): coreutils Provides: qlogic-firmware Obsoletes: qlogic-firmware Provides: cxgb3-firmware @@ -77,6 +77,8 @@ previously included in the kernel. It is shared by all kernels >= Supplements: modalias(x86cpu:vendor%3A0002%3Afamily%3A*%3Amodel%3A*%3Afeature%3A*) Summary: Microcode updates for AMD CPUs Group: System/Kernel +Requires(post): coreutils +Requires(postun): coreutils %description -n ucode-amd This package contains the microcode files used by AMD CPUs. @@ -110,6 +112,12 @@ rm -rf %{buildroot} %post -n ucode-amd %{?regenerate_initrd_post} +%postun +%{?regenerate_initrd_post} + +%postun -n ucode-amd +%{?regenerate_initrd_post} + %posttrans %{?regenerate_initrd_posttrans}