[oe-commits] Martin Dietze : linux-hotplug: fixed the path to the hotplug command in pci .rc * the hotplug command was assumed to be in /sbin, but it actually is in /usr/sbin
git version control
git at git.openembedded.org
Wed May 27 19:51:17 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 4103b643af81d0f02df999de0b5d32170f2a7567
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4103b643af81d0f02df999de0b5d32170f2a7567
Author: Martin Dietze <martin at the-little-red-haired-girl.org>
Date: Sat May 23 13:34:35 2009 +0200
linux-hotplug: fixed the path to the hotplug command in pci.rc * the hotplug command was assumed to be in /sbin, but it actually is in /usr/sbin
---
.../hotplug-binary-path.patch | 20 ++++++++++++++++++++
recipes/linux-hotplug/linux-hotplug_20040920.bb | 3 ++-
2 files changed, 22 insertions(+), 1 deletions(-)
diff --git a/recipes/linux-hotplug/linux-hotplug-20040920/hotplug-binary-path.patch b/recipes/linux-hotplug/linux-hotplug-20040920/hotplug-binary-path.patch
new file mode 100644
index 0000000..c68a009
--- /dev/null
+++ b/recipes/linux-hotplug/linux-hotplug-20040920/hotplug-binary-path.patch
@@ -0,0 +1,20 @@
+--- hotplug-2004_09_20/etc/hotplug/pci.rc-orig 2009-04-07 21:00:18.000000000 +0200
++++ hotplug-2004_09_20/etc/hotplug/pci.rc 2009-04-07 21:00:43.000000000 +0200
+@@ -38,7 +38,7 @@
+ sub_vendor_id=`cat $PCI_DEVICE/subsystem_vendor`
+ sub_device_id=`cat $PCI_DEVICE/subsystem_device`
+ PCI_SUBSYS_ID="${sub_vendor_id#0x}:${sub_device_id#0x}"
+- /sbin/hotplug pci
++ /usr/sbin/hotplug pci
+ done
+ fi
+ else
+@@ -53,7 +53,7 @@
+ for BUS in `cd /proc/bus/pci;find * -type d -print`; do
+ for SLOT_FUNC in `cd /proc/bus/pci/$BUS; echo *`; do
+ PCI_SLOT=$BUS:$SLOT_FUNC
+- /sbin/hotplug pci
++ /usr/sbin/hotplug pci
+ done
+ done
+ fi
diff --git a/recipes/linux-hotplug/linux-hotplug_20040920.bb b/recipes/linux-hotplug/linux-hotplug_20040920.bb
index 6209504..5cab3b8 100644
--- a/recipes/linux-hotplug/linux-hotplug_20040920.bb
+++ b/recipes/linux-hotplug/linux-hotplug_20040920.bb
@@ -27,7 +27,8 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/hotplug-2004_09_20
file://sysconfig-usb \
file://isapnp-exit.diff;patch=1 \
file://usb-storage \
- file://soc.agent"
+ file://soc.agent \
+ file://hotplug-binary-path.patch;patch=1"
SRC_URI_append_openzaurus = " file://quiet-pci.patch;patch=1"
More information about the Openembedded-commits
mailing list