From f10df9a7a4cd63f57162332d46045ca1cf921a13 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 26 Oct 2007 12:23:22 +0000 Subject: linux-hotplug: fix bashisms (from OE) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3003 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../linux-hotplug/linux-hotplug-20040920/dash.patch | 17 +++++++++++++++++ meta/packages/linux-hotplug/linux-hotplug_20040920.bb | 5 +++-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 meta/packages/linux-hotplug/linux-hotplug-20040920/dash.patch (limited to 'meta') 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 \ -- cgit v1.2.3