[Glibc-bsd-commits] r3144 - trunk/kfreebsd-7/debian

Guillem Jover guillem at alioth.debian.org
Fri Aug 6 06:15:18 UTC 2010


Author: guillem
Date: 2010-08-06 06:15:14 +0000 (Fri, 06 Aug 2010)
New Revision: 3144

Modified:
   trunk/kfreebsd-7/debian/changelog
   trunk/kfreebsd-7/debian/kfreebsd-image.postinst.in
   trunk/kfreebsd-7/debian/kfreebsd-image.postrm.in
   trunk/kfreebsd-7/debian/kfreebsd-image.preinst.in
   trunk/kfreebsd-7/debian/kfreebsd-image.prerm.in
Log:
Pass version including ABI to kernel-img.conf hooks


Modified: trunk/kfreebsd-7/debian/changelog
===================================================================
--- trunk/kfreebsd-7/debian/changelog	2010-08-06 06:13:26 UTC (rev 3143)
+++ trunk/kfreebsd-7/debian/changelog	2010-08-06 06:15:14 UTC (rev 3144)
@@ -9,6 +9,7 @@
     - Sanitize and single quote maintainer script parameters exported
       as DEB_MAINT_PARAMS environment variable.
     - Call preinst and prerm hooks too.
+  * Pass version including ABI to kernel-img.conf hooks.
 
  -- Aurelien Jarno <aurel32 at debian.org>  Fri, 06 Aug 2010 07:04:00 +0200
 

Modified: trunk/kfreebsd-7/debian/kfreebsd-image.postinst.in
===================================================================
--- trunk/kfreebsd-7/debian/kfreebsd-image.postinst.in	2010-08-06 06:13:26 UTC (rev 3143)
+++ trunk/kfreebsd-7/debian/kfreebsd-image.postinst.in	2010-08-06 06:15:14 UTC (rev 3144)
@@ -66,7 +66,7 @@
         postinst_hook=$(sed '/^\s*postinst_hook/!d;s/.*=\s*//' $KERNEL_IMG_CONF 2>/dev/null || true)
         if [ -n "$postinst_hook" ] ; then
             echo "Running postinst hook script $postinst_hook." 1>&2 
-            $postinst_hook "$VERSION" "/boot/kfreebsd-$RELEASE.gz"
+            $postinst_hook "$RELEASE" "/boot/kfreebsd-$RELEASE.gz"
         fi
 
         # Run /etc/kernel/postinst.d/ hooks if they exist

Modified: trunk/kfreebsd-7/debian/kfreebsd-image.postrm.in
===================================================================
--- trunk/kfreebsd-7/debian/kfreebsd-image.postrm.in	2010-08-06 06:13:26 UTC (rev 3143)
+++ trunk/kfreebsd-7/debian/kfreebsd-image.postrm.in	2010-08-06 06:15:14 UTC (rev 3144)
@@ -36,7 +36,7 @@
         postrm_hook=$(sed '/^\s*postrm_hook/!d;s/.*=\s*//' $KERNEL_IMG_CONF 2>/dev/null || true)
         if [ -n "$postrm_hook" ] ; then
             echo "Running postrm hook script $postrm_hook." 1>&2 
-            $postrm_hook "$VERSION" "/boot/kfreebsd-$RELEASE.gz"
+            $postrm_hook "$RELEASE" "/boot/kfreebsd-$RELEASE.gz"
         fi
 
         # Run /etc/kernel/postrm.d/ hooks if they exist

Modified: trunk/kfreebsd-7/debian/kfreebsd-image.preinst.in
===================================================================
--- trunk/kfreebsd-7/debian/kfreebsd-image.preinst.in	2010-08-06 06:13:26 UTC (rev 3143)
+++ trunk/kfreebsd-7/debian/kfreebsd-image.preinst.in	2010-08-06 06:15:14 UTC (rev 3144)
@@ -31,7 +31,7 @@
         preinst_hook=$(sed '/^\s*preinst_hook/!d;s/.*=\s*//' $KERNEL_IMG_CONF 2>/dev/null || true)
         if [ -n "$preinst_hook" ] ; then
             echo "Running preinst hook script $preinst_hook." 1>&2 
-            $preinst_hook "$VERSION" "/boot/kfreebsd-$RELEASE.gz"
+            $preinst_hook "$RELEASE" "/boot/kfreebsd-$RELEASE.gz"
         fi
 
         # Run /etc/kernel/preinst.d/ hooks if they exist

Modified: trunk/kfreebsd-7/debian/kfreebsd-image.prerm.in
===================================================================
--- trunk/kfreebsd-7/debian/kfreebsd-image.prerm.in	2010-08-06 06:13:26 UTC (rev 3143)
+++ trunk/kfreebsd-7/debian/kfreebsd-image.prerm.in	2010-08-06 06:15:14 UTC (rev 3144)
@@ -34,7 +34,7 @@
         prerm_hook=$(sed '/^\s*prerm_hook/!d;s/.*=\s*//g' $KERNEL_IMG_CONF 2>/dev/null || true)
         if [ -n "$prerm_hook" ] ; then
             echo "Running prerm hook script $prerm_hook." 1>&2 
-            $prerm_hook "$VERSION" "/boot/kfreebsd-$RELEASE.gz"
+            $prerm_hook "$RELEASE" "/boot/kfreebsd-$RELEASE.gz"
         fi
 
         # Run /etc/kernel/prerm.d/ hooks if they exist




More information about the Glibc-bsd-commits mailing list