diff --git a/kbd.changes b/kbd.changes index 739c3a0..cc16af9 100644 --- a/kbd.changes +++ b/kbd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 10 16:31:10 CET 2015 - tiwai@suse.de + +- Fix missing dependency on coreutils for initrd macros (boo#958562) +- Call missing initrd macro at postun (boo#958562) + ------------------------------------------------------------------- Fri Aug 21 10:50:21 UTC 2015 - opensuse.lietuviu.kalba@gmail.com diff --git a/kbd.spec b/kbd.spec index f55f15b..f0a8a45 100644 --- a/kbd.spec +++ b/kbd.spec @@ -74,6 +74,8 @@ BuildRequires: console-setup BuildRequires: xkeyboard-config Requires(pre): %fillup_prereq +Requires(post): coreutils +Requires(postun): coreutils # Temporarily require -legacy Requires: %{name}-legacy = %{version}-%{release} @@ -367,6 +369,9 @@ sh ./genmap4systemd.sh $RPM_BUILD_ROOT/%{kbd}/keymaps/xkb \ #echo "See /etc/sysconfig/console, /etc/sysconfig/keyboard" #echo "and {_docdir}/kbd/README.SUSE." +%postun +%{?regenerate_initrd_post} + %posttrans %{?regenerate_initrd_posttrans}