From 53e73e46e60164834cbeb90c8da994104fc04df72dbc073eadf12acae6a48d42 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Tue, 15 Dec 2015 16:32:39 +0000 Subject: [PATCH] Accepting request 349007 from home:tiwai:branches:Kernel:HEAD - Fix dependencies for initrd macros (boo#958562) - Fix missing dependency for ucode-amd, too (boo#958562) - Call missing initrd macro at postun (boo#958562) OBS-URL: https://build.opensuse.org/request/show/349007 OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-firmware?expand=0&rev=109 --- kernel-firmware.changes | 7 +++++++ kernel-firmware.spec | 12 ++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) 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}