]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-hotplug: fix bashisms (from OE)
authorMarcin Juszkiewicz <hrw@openedhand.com>
Fri, 26 Oct 2007 12:23:22 +0000 (12:23 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Fri, 26 Oct 2007 12:23:22 +0000 (12:23 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3003 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/linux-hotplug/linux-hotplug-20040920/dash.patch [new file with mode: 0644]
meta/packages/linux-hotplug/linux-hotplug_20040920.bb

diff --git a/meta/packages/linux-hotplug/linux-hotplug-20040920/dash.patch b/meta/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 c6bcbb66e67bcb1cbdd9e28e8388a1f4216566b8..6209504c20ac3fe119027710d1320504a2184bc8 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 \
+SRC_URI = "${KERNELORG_MIRROR}/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 \