Author: blino
Date: Fri Feb 16 16:09:02 2007
New Revision: 121861

Modified:
   packages/cooker/suspend/current/SPECS/suspend.spec

Log:
rebuild initrds in post


Modified: packages/cooker/suspend/current/SPECS/suspend.spec
==============================================================================
--- packages/cooker/suspend/current/SPECS/suspend.spec  (original)
+++ packages/cooker/suspend/current/SPECS/suspend.spec  Fri Feb 16 16:09:02 2007
@@ -1,6 +1,6 @@
 %define name suspend
 %define version 0.5
-%define release %mkrel 5
+%define release %mkrel 6
 
 Summary: Userland tools for suspend-to-disk and suspend-to-RAM
 Name: %{name}
@@ -17,6 +17,8 @@
 ExcludeArch: ppc
 Obsoletes: wltool
 Obsoletes: suspend-wltool
+Conflicts: mkinitrd < 4.2.17-27mdv2007.1
+Requires(post): drakxtools-backend
 
 %description
 The goal of the project is to create a tool that can handle the so
@@ -56,6 +58,9 @@
 %clean
 rm -rf %{buildroot}
 
+%post
+/usr/sbin/bootloader-config --action rebuild-initrds
+
 %files
 %defattr(-,root,root)
 %doc ChangeLog HOWTO README README.s2ram-whitelist ReleaseNotes TODO

Reply via email to