From 92fcb37b4c39db2075eda170c46ce89d1f8acf1519b0040f0fb6ff3ec456a870 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 5 Sep 2008 20:19:55 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=17 --- cryptsetup.changes | 5 +++++ cryptsetup.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/cryptsetup.changes b/cryptsetup.changes index b6a6b96..60930b5 100644 --- a/cryptsetup.changes +++ b/cryptsetup.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 3 11:09:34 CEST 2008 - hare@suse.de + +- Call mkinitrd_setup during %post and %postun (bnc#413709) + ------------------------------------------------------------------- Wed Aug 20 15:20:06 CEST 2008 - mkoenig@suse.de diff --git a/cryptsetup.spec b/cryptsetup.spec index 2073979..34e3bb6 100644 --- a/cryptsetup.spec +++ b/cryptsetup.spec @@ -30,7 +30,7 @@ License: BSD 3-Clause; GPL v2 or later Group: System/Base AutoReqProv: on Version: 1.0.5_SVNr46 -Release: 45 +Release: 50 Summary: Set Up dm-crypt Based Encrypted Block Devices Source: cryptsetup-%{version}.tar.bz2 Source1: hashalot-%haver.tar.bz2 @@ -153,6 +153,7 @@ fi %post /sbin/ldconfig +[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup %{fillup_and_insserv boot.crypto} if [ -e /var/run/cryptsetup.boot.crypto.enabled ]; then rm -f /var/run/cryptsetup.boot.crypto.enabled @@ -162,6 +163,7 @@ fi %postun /sbin/ldconfig +[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup %{insserv_cleanup} %clean @@ -193,6 +195,8 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libcryptsetup.so %changelog +* Wed Sep 03 2008 hare@suse.de +- Call mkinitrd_setup during %%post and %%postun (bnc#413709) * Wed Aug 20 2008 mkoenig@suse.de - enable SELinux support [fate#303662] * Wed Aug 13 2008 mkoenig@suse.de