From d33b1325a53496a321b3cdb8398ad1fa41a69422 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Mon, 16 Jan 2006 12:05:55 +0000 Subject: linux-hotplug 20040920: added patch which remove message about lack of PCI events - added as OpenZaurus specific now - I don't know how much machines with 2.4 and PCI exist in OE world. --- packages/linux-hotplug/linux-hotplug-20040920/quiet-pci.patch | 11 +++++++++++ packages/linux-hotplug/linux-hotplug_20040920.bb | 6 ++++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 packages/linux-hotplug/linux-hotplug-20040920/quiet-pci.patch diff --git a/packages/linux-hotplug/linux-hotplug-20040920/quiet-pci.patch b/packages/linux-hotplug/linux-hotplug-20040920/quiet-pci.patch new file mode 100644 index 0000000000..5b4d169a2a --- /dev/null +++ b/packages/linux-hotplug/linux-hotplug-20040920/quiet-pci.patch @@ -0,0 +1,11 @@ +--- hotplug-2004_09_20/etc/hotplug/pci.rc.orig 2006-01-14 16:15:34.000000000 +0100 ++++ hotplug-2004_09_20/etc/hotplug/pci.rc 2006-01-14 16:16:19.000000000 +0100 +@@ -45,7 +45,7 @@ + # 2.4 kernels + LISTER=`which pcimodules` + if [ "$LISTER" = "" ] || [ ! -f /proc/bus/pci/devices ] || [ ! -x pci.agent ]; then +- echo $"** can't synthesize pci hotplug events" ++ # echo $"** can't synthesize pci hotplug events" + return 1 + fi + diff --git a/packages/linux-hotplug/linux-hotplug_20040920.bb b/packages/linux-hotplug/linux-hotplug_20040920.bb index ce503a219e..c6bcbb66e6 100644 --- a/packages/linux-hotplug/linux-hotplug_20040920.bb +++ b/packages/linux-hotplug/linux-hotplug_20040920.bb @@ -8,7 +8,7 @@ RCONFLICTS_${PN} = "hotplug" RREPLACES_${PN} = "hotplug" SECTION = "base" RSUGGESTS = "pciutils usbutils" -PR = "r7" +PR = "r8" SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/hotplug-2004_09_20.tar.gz \ file://userspecified_hcd.patch;patch=1 \ @@ -27,7 +27,9 @@ SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/hotplug-2004_09_2 file://isapnp-exit.diff;patch=1 \ file://usb-storage \ file://soc.agent" - + +SRC_URI_append_openzaurus = " file://quiet-pci.patch;patch=1" + S = "${WORKDIR}/hotplug-2004_09_20" INITSCRIPT_NAME = "hotplug" -- cgit 1.2.3-korg