Hi,

Attached is the diff for my libraw1394 1.2.1-3.1 NMU.

  This is correct because makedev is priority required, and it is the
standard way to do things.

  As it's really a blocker of the rest of the archive, I'm uploading
this ASAP.

-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org
diff -u libraw1394-1.2.1/debian/changelog libraw1394-1.2.1/debian/changelog
--- libraw1394-1.2.1/debian/changelog
+++ libraw1394-1.2.1/debian/changelog
@@ -1,3 +1,10 @@
+libraw1394 (1.2.1-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix MAKEDEV invocation so that it works even in chroots (Closes: 429437).
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]>  Tue, 19 Jun 2007 19:16:51 +0100
+
 libraw1394 (1.2.1-3) unstable; urgency=low
 
   * Change dependency on makedev to makedev | udev for libraw1394-8.
diff -u libraw1394-1.2.1/debian/libraw1394-8.postinst libraw1394-1.2.1/debian/libraw1394-8.postinst
--- libraw1394-1.2.1/debian/libraw1394-8.postinst
+++ libraw1394-1.2.1/debian/libraw1394-8.postinst
@@ -2,7 +2,13 @@
 
 if [ "$1" = "configure" ]; then
 	echo -n "Creating device node /dev/raw1394... "
-	cd /dev && ./MAKEDEV raw1394
+        if test -x /sbin/MAKEDEV; then
+            # see lm-sensors source to see how it works
+            cd /dev && /sbin/MAKEDEV raw1394
+        else
+            echo "no MAKEDEV found (abort)"
+            exit 1
+        fi
 	echo "done."
 fi
 

Reply via email to