From d5f9dd82ea15d3f15105f884386f5211f7351b53bf5077a6b36701ba62aef0a5 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Tue, 15 Dec 2015 16:33:10 +0000 Subject: [PATCH] Accepting request 349008 from home:tiwai:branches:Base:System - 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/349008 OBS-URL: https://build.opensuse.org/package/show/Base:System/biosdevname?expand=0&rev=58 --- biosdevname.changes | 6 ++++++ biosdevname.spec | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/biosdevname.changes b/biosdevname.changes index 2f1044c..7b6c407 100644 --- a/biosdevname.changes +++ b/biosdevname.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 10 16:00:47 CET 2015 - tiwai@suse.de + +- Fix missing dependency on coreutils for initrd macros (boo#958562) +- Call missing initrd macro at postun (boo#958562) + ------------------------------------------------------------------- Mon Jul 13 07:08:26 UTC 2015 - werner@suse.de diff --git a/biosdevname.spec b/biosdevname.spec index 33cb3bb..cac5134 100644 --- a/biosdevname.spec +++ b/biosdevname.spec @@ -38,6 +38,8 @@ BuildRequires: sed BuildRequires: suse-module-tools BuildRequires: zlib-devel BuildRequires: pkgconfig(udev) +Requires(post): coreutils +Requires(postun): coreutils # for ownership of /usr/lib/udev/rules.d Requires: udev Supplements: modalias(dmi:*svnDell*) @@ -91,7 +93,9 @@ rm %{buildroot}/sbin/%{name}S || : /sbin/ldconfig %{?regenerate_initrd_post} -%postun -p /sbin/ldconfig +%postun +/sbin/ldconfig +%{?regenerate_initrd_post} %posttrans %{?regenerate_initrd_posttrans}