[oe] [PATCH] Added udev-compat wrapper for h2200 Signed-off-by: Cazze <cazzeml at gmail.com>
Cazze
cazzeml at gmail.com
Sat Nov 20 23:01:02 UTC 2010
---
conf/machine/h2200.conf | 2 ++
recipes/udev/udev.inc | 6 +++++-
recipes/udev/udev_151.bb | 6 +++++-
recipes/udev/udev_154.bb | 6 +++++-
4 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/conf/machine/h2200.conf b/conf/machine/h2200.conf
index abc1772..4bcdf7c 100644
--- a/conf/machine/h2200.conf
+++ b/conf/machine/h2200.conf
@@ -25,6 +25,8 @@ PCMCIA_MANAGER = "pcmciautils"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6"
+# udev-141 is the latest version that works with linux-2.6.21
+PREFERRED_PROVIDER_udev-compat_h2200 = "udev-compat141"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS = " h2200-bootloader "
MACHINE_EXTRA_RDEPENDS = " udev-hostap-cs-vcc-workaround "
MACHINE_EXTRA_RRECOMMENDS = "\
diff --git a/recipes/udev/udev.inc b/recipes/udev/udev.inc
index 0c8a662..5634635 100644
--- a/recipes/udev/udev.inc
+++ b/recipes/udev/udev.inc
@@ -14,7 +14,7 @@ SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://init \
file://udev-compat-wrapper-patch"
-INC_PR = "r30"
+INC_PR = "r31"
inherit update-rc.d autotools pkgconfig
@@ -60,6 +60,10 @@ RDEPENDS_udev_poodle += "udev-compat"
do_unpack_append_poodle() {
bb.build.exec_func('do_apply_compat_wrapper', d)
}
+RDEPENDS_udev_h2200 += "udev-compat"
+do_unpack_append_h2200() {
+ bb.build.exec_func('do_apply_compat_wrapper', d)
+}
# Modify init script on platforms that need to boot old kernels:
do_apply_compat_wrapper() {
diff --git a/recipes/udev/udev_151.bb b/recipes/udev/udev_151.bb
index ac14b56..7a6c31d 100644
--- a/recipes/udev/udev_151.bb
+++ b/recipes/udev/udev_151.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
the hotplug package and requires a kernel not older than 2.6.12."
LICENSE = "GPLv2+"
-PR = "r21"
+PR = "r22"
# Untested
DEFAULT_PREFERENCE = "-1"
@@ -99,6 +99,10 @@ RDEPENDS_udev_append_poodle = " udev-compat"
do_unpack_append_poodle() {
bb.build.exec_func('do_apply_compat_wrapper', d)
}
+RDEPENDS_udev_append_h2200 = " udev-compat"
+do_unpack_append_h2200() {
+ bb.build.exec_func('do_apply_compat_wrapper', d)
+}
# Modify init script on platforms that need to boot old kernels:
do_apply_compat_wrapper() {
diff --git a/recipes/udev/udev_154.bb b/recipes/udev/udev_154.bb
index d7740a6..c9348f8 100644
--- a/recipes/udev/udev_154.bb
+++ b/recipes/udev/udev_154.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
the hotplug package and requires a kernel not older than 2.6.12."
LICENSE = "GPLv2+"
-PR = "r6"
+PR = "r7"
# Untested
DEFAULT_PREFERENCE = "-1"
@@ -93,6 +93,10 @@ RDEPENDS_udev_append_poodle = " udev-compat"
do_unpack_append_poodle() {
bb.build.exec_func('do_apply_compat_wrapper', d)
}
+RDEPENDS_udev_append_h2200 = " udev-compat"
+do_unpack_append_h2200() {
+ bb.build.exec_func('do_apply_compat_wrapper', d)
+}
# Modify init script on platforms that need to boot old kernels:
do_apply_compat_wrapper() {
--
1.5.6.4
More information about the Openembedded-devel
mailing list