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

Aurelien Jarno aurel32 at alioth.debian.org
Mon Aug 31 12:50:12 UTC 2009


Author: aurel32
Date: 2009-08-31 12:50:12 +0000 (Mon, 31 Aug 2009)
New Revision: 2766

Modified:
   trunk/kfreebsd-7/debian/changelog
   trunk/kfreebsd-7/debian/kfreebsd-image.postinst.in
   trunk/kfreebsd-7/debian/rules
Log:
  * Don't ship /boot/kernel, but create it in the postinst if symlinks are
    enabled.



Modified: trunk/kfreebsd-7/debian/changelog
===================================================================
--- trunk/kfreebsd-7/debian/changelog	2009-08-31 12:44:11 UTC (rev 2765)
+++ trunk/kfreebsd-7/debian/changelog	2009-08-31 12:50:12 UTC (rev 2766)
@@ -1,3 +1,10 @@
+kfreebsd-7 (7.2-7) UNRELEASED; urgency=low
+
+  * Don't ship /boot/kernel, but create it in the postinst if symlinks are
+    enabled.
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Mon, 31 Aug 2009 14:49:33 +0200
+
 kfreebsd-7 (7.2-6) unstable; urgency=low
 
   [ Aurelien Jarno ]

Modified: trunk/kfreebsd-7/debian/kfreebsd-image.postinst.in
===================================================================
--- trunk/kfreebsd-7/debian/kfreebsd-image.postinst.in	2009-08-31 12:44:11 UTC (rev 2765)
+++ trunk/kfreebsd-7/debian/kfreebsd-image.postinst.in	2009-08-31 12:50:12 UTC (rev 2766)
@@ -32,6 +32,8 @@
                     exit 1
                 fi
             done
+
+	    mkdir -p /boot/kernel
     
             if [ "$(readlink -f /boot/kernel/kernel.gz)" != "/boot/kfreebsd-$RELEASE.gz" ] ; then
                 rm -f /boot/kernel/kernel.old.gz

Modified: trunk/kfreebsd-7/debian/rules
===================================================================
--- trunk/kfreebsd-7/debian/rules	2009-08-31 12:44:11 UTC (rev 2765)
+++ trunk/kfreebsd-7/debian/rules	2009-08-31 12:50:12 UTC (rev 2766)
@@ -181,9 +181,6 @@
 	rm -f $(IMAGE_PACKAGE)-$*/boot/loader.conf
 	rm -rf $(IMAGE_PACKAGE)-$*/boot/defaults
 
-	# create /boot/kernel/ directory
-	mkdir -p $(IMAGE_PACKAGE)-$*/boot/kernel/
-
 	# remove device.hints (built into kernel)
 	rm -f $(IMAGE_PACKAGE)-$*/boot/device.hints
 




More information about the Glibc-bsd-commits mailing list