linux-hotplug: fix bashisms (from OE)

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3003 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Marcin Juszkiewicz
2007-10-26 12:23:22 +00:00
parent 1bdfb7b626
commit f10df9a7a4
2 changed files with 20 additions and 2 deletions

View File

@@ -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

View 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 \