Skip to contentSkip to conversation

Added udev-compat wrapper for h2200 Signed-off-by: Cazze <[email protected]>

PATCH New Cazze 1 participant 1 message Nov 20, 2010

lore
Share & tools
lore

Cazze

author
#0 lore raw

PATCH 1/1 Added udev-compat wrapper for h2200 Signed-off-by: Cazze <[email protected]>

---
 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(-)
conf/machine/h2200.conf +2 -0
index abc1772..4bcdf7c 100644
@@ -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 = "\
recipes/udev/udev.inc +5 -1
index 0c8a662..5634635 100644
@@ -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() {
recipes/udev/udev_151.bb +5 -1
index ac14b56..7a6c31d 100644
@@ -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() {
recipes/udev/udev_154.bb +5 -1
index d7740a6..c9348f8 100644
@@ -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() {
Signature · 1 line
1.5.6.4