r747 - lvm2/trunk/debian

Bastian Blank waldi at alioth.debian.org
Thu Oct 8 15:34:36 UTC 2009


Author: waldi
Date: Thu Oct  8 15:34:33 2009
New Revision: 747

Log:
* debian/changelog: Update.
* debian/dmsetup.postinst, debian/lvm2.postinst: Trigger initramfs update.

Added:
   lvm2/trunk/debian/dmsetup.postinst
Modified:
   lvm2/trunk/debian/changelog
   lvm2/trunk/debian/lvm2.postinst

Modified: lvm2/trunk/debian/changelog
==============================================================================
--- lvm2/trunk/debian/changelog	Thu Oct  8 15:33:00 2009	(r746)
+++ lvm2/trunk/debian/changelog	Thu Oct  8 15:34:33 2009	(r747)
@@ -3,6 +3,7 @@
   * Fix variable assignment in udev rules. (closes: #550100, RC bugfix)
   * Install udev rules into initramfs.
   * Add initramfs-tools hook to dmsetup.
+  * Trigger initramfs update.
 
  -- Bastian Blank <waldi at debian.org>  Thu, 08 Oct 2009 13:10:02 +0200
 

Added: lvm2/trunk/debian/dmsetup.postinst
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ lvm2/trunk/debian/dmsetup.postinst	Thu Oct  8 15:34:33 2009	(r747)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+    configure)
+        if [ -x /usr/sbin/update-initramfs ]; then
+            update-initramfs -u
+        fi
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0

Modified: lvm2/trunk/debian/lvm2.postinst
==============================================================================
--- lvm2/trunk/debian/lvm2.postinst	Thu Oct  8 15:33:00 2009	(r746)
+++ lvm2/trunk/debian/lvm2.postinst	Thu Oct  8 15:34:33 2009	(r747)
@@ -6,6 +6,9 @@
     configure)
         vgcfgbackup >/dev/null 2>&1 || :
         invoke-rc.d lvm2 start || :
+        if [ -x /usr/sbin/update-initramfs ]; then
+            update-initramfs -u
+        fi
     ;;
 esac
 



More information about the pkg-lvm-commits mailing list