linux-hotplug 20040920: fix bashisms
authorMarcin Juszkiewicz <hrw@openembedded.org>
Wed, 29 Nov 2006 16:06:46 +0000 (16:06 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Wed, 29 Nov 2006 16:06:46 +0000 (16:06 +0000)
packages/linux-hotplug/linux-hotplug-20040920/dash.patch [new file with mode: 0644]
packages/linux-hotplug/linux-hotplug_20040920.bb

diff --git a/packages/linux-hotplug/linux-hotplug-20040920/dash.patch b/packages/linux-hotplug/linux-hotplug-20040920/dash.patch
new file mode 100644 (file)
index 0000000..161671f
--- /dev/null
@@ -0,0 +1,17 @@
+Index: hotplug-2004_09_20/Makefile
+===================================================================
+--- hotplug-2004_09_20.orig/Makefile   2006-11-29 17:01:16.000000000 +0100
++++ hotplug-2004_09_20/Makefile        2006-11-29 17:04:39.000000000 +0100
+@@ -86,10 +86,10 @@
+       ${INSTALL_SCRIPT} -D sbin/hotplug $(sbindir)/hotplug
+       $(INSTALL) -d $(etcdir)/hotplug/{usb,pci}
+       $(INSTALL) -D etc/hotplug.d/default/default.hotplug $(etcdir)/hotplug.d/default/default.hotplug
+-      for F in etc/hotplug/{*.{agent,rc},hotplug.functions} ; do \
++      for F in etc/hotplug/*.agent etc/hotplug/*.rc etc/hotplug/hotplug.functions ; do \
+           ${INSTALL_SCRIPT} $$F $(etcdir)/hotplug ; \
+           done
+-      for F in etc/hotplug/{blacklist,usb.{user,hand,dist}map} ; do \
++      for F in etc/hotplug/blacklist etc/hotplug/usb.*map ; do \
+           ${INSTALL_DATA} $$F $(etcdir)/hotplug ; \
+           done
+       ${INSTALL_SCRIPT} -D etc/rc.d/init.d/hotplug $(etcdir)/init.d/hotplug
index c6bcbb6..7c27551 100644 (file)
@@ -8,9 +8,10 @@ RCONFLICTS_${PN} = "hotplug"
 RREPLACES_${PN} = "hotplug"
 SECTION = "base"
 RSUGGESTS = "pciutils usbutils"
-PR = "r8"
+PR = "r9"
 
 SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/hotplug-2004_09_20.tar.gz \
+       file://dash.patch;patch=1 \
        file://userspecified_hcd.patch;patch=1 \
        file://hotplug-net-agent-usb.patch;patch=1 \
        file://usbrc-busybox.patch;patch=1 \