summaryrefslogtreecommitdiff
path: root/meta/packages/linux-hotplug
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-10-26 12:23:22 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-10-26 12:23:22 +0000
commitf10df9a7a4cd63f57162332d46045ca1cf921a13 (patch)
treefb33249d28ca1e463ab30905ffd9edd9ec3d5f97 /meta/packages/linux-hotplug
parent1bdfb7b626be9db29987eda26f505af5f2e3e433 (diff)
downloadopenembedded-core-f10df9a7a4cd63f57162332d46045ca1cf921a13.tar.gz
openembedded-core-f10df9a7a4cd63f57162332d46045ca1cf921a13.tar.bz2
openembedded-core-f10df9a7a4cd63f57162332d46045ca1cf921a13.tar.xz
openembedded-core-f10df9a7a4cd63f57162332d46045ca1cf921a13.zip
linux-hotplug: fix bashisms (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3003 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux-hotplug')
-rw-r--r--meta/packages/linux-hotplug/linux-hotplug-20040920/dash.patch17
-rw-r--r--meta/packages/linux-hotplug/linux-hotplug_20040920.bb5
2 files changed, 20 insertions, 2 deletions
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
index 000000000..161671f2e
--- /dev/null
+++ b/meta/packages/linux-hotplug/linux-hotplug-20040920/dash.patch
@@ -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
diff --git a/meta/packages/linux-hotplug/linux-hotplug_20040920.bb b/meta/packages/linux-hotplug/linux-hotplug_20040920.bb
index c6bcbb66e..6209504c2 100644
--- a/meta/packages/linux-hotplug/linux-hotplug_20040920.bb
+++ b/meta/packages/linux-hotplug/linux-hotplug_20040920.bb
@@ -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 \