summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2010-07-30 00:35:53 +0200
committerAndrea Adami <andrea.adami@gmail.com>2010-07-30 00:35:53 +0200
commit6293399a673326057487541e4b4fcc110201f6c6 (patch)
tree03ffec2da33b7f54b21a4bda2d9d8485477f94a4
parent78cc524b1b117c207fbe192e10e172d8cee77eff (diff)
udev: add support for udev-compat for c7x0 and poodle
* following spitz + akita * fixed RDEPENDS of .154
-rw-r--r--recipes/udev/udev.inc11
-rw-r--r--recipes/udev/udev_151.bb11
-rw-r--r--recipes/udev/udev_154.bb19
3 files changed, 37 insertions, 4 deletions
diff --git a/recipes/udev/udev.inc b/recipes/udev/udev.inc
index 364e4deafc..e6aad4b96d 100644
--- a/recipes/udev/udev.inc
+++ b/recipes/udev/udev.inc
@@ -53,6 +53,17 @@ RDEPENDS_udev_akita += "udev-compat"
do_unpack_append_akita() {
bb.build.exec_func('do_apply_compat_wrapper', d)
}
+RPROVIDES_udev_c7x0 += "udev-compat-wrapper"
+RDEPENDS_udev_c7x0 += "udev-compat"
+do_unpack_append_c7x0() {
+ bb.build.exec_func('do_apply_compat_wrapper', d)
+}
+RPROVIDES_udev_poodle += "udev-compat-wrapper"
+RDEPENDS_udev_poodle += "udev-compat"
+do_unpack_append_poodle() {
+ bb.build.exec_func('do_apply_compat_wrapper', d)
+}
+
# Modify init script on platforms that need to boot old kernels:
do_apply_compat_wrapper() {
cd ${WORKDIR}
diff --git a/recipes/udev/udev_151.bb b/recipes/udev/udev_151.bb
index 6d09ff4246..e8c86fdb1c 100644
--- a/recipes/udev/udev_151.bb
+++ b/recipes/udev/udev_151.bb
@@ -85,6 +85,17 @@ RDEPENDS_udev_append_akita += "udev-compat"
do_unpack_append_akita() {
bb.build.exec_func('do_apply_compat_wrapper', d)
}
+RPROVIDES_udev_append_c7x0 += "udev-compat-wrapper"
+RDEPENDS_udev_append_c7x0 += "udev-compat"
+do_unpack_append_c7x0() {
+ bb.build.exec_func('do_apply_compat_wrapper', d)
+}
+RPROVIDES_udev_append_poodle += "udev-compat-wrapper"
+RDEPENDS_udev_append_poodle += "udev-compat"
+do_unpack_append_poodle() {
+ bb.build.exec_func('do_apply_compat_wrapper', d)
+}
+
# Modify init script on platforms that need to boot old kernels:
do_apply_compat_wrapper() {
cd ${WORKDIR}
diff --git a/recipes/udev/udev_154.bb b/recipes/udev/udev_154.bb
index 565e202bde..a02a369d9f 100644
--- a/recipes/udev/udev_154.bb
+++ b/recipes/udev/udev_154.bb
@@ -76,16 +76,27 @@ FILES_${PN}-dbg += "${usrbindir}/.debug ${usrsbindir}/.debug"
FILES_${PN} += "/lib/udev* ${libdir}/ConsoleKit"
FILES_${PN}-dbg += "/lib/udev/.debug"
-RPROVIDES_udev_spitz += "udev-compat-wrapper"
-RDEPENDS_udev_spitz += "udev-compat"
+RPROVIDES_udev_append_spitz += "udev-compat-wrapper"
+RDEPENDS_udev_append_spitz += "udev-compat"
do_unpack_append_spitz() {
bb.build.exec_func('do_apply_compat_wrapper', d)
}
-RPROVIDES_udev_akita += "udev-compat-wrapper"
-RDEPENDS_udev_akita += "udev-compat"
+RPROVIDES_udev_append_akita += "udev-compat-wrapper"
+RDEPENDS_udev_append_akita += "udev-compat"
do_unpack_append_akita() {
bb.build.exec_func('do_apply_compat_wrapper', d)
}
+RPROVIDES_udev_append_c7x0 += "udev-compat-wrapper"
+RDEPENDS_udev_append_c7x0 += "udev-compat"
+do_unpack_append_c7x0() {
+ bb.build.exec_func('do_apply_compat_wrapper', d)
+}
+RPROVIDES_udev_append_poodle += "udev-compat-wrapper"
+RDEPENDS_udev_append_poodle += "udev-compat"
+do_unpack_append_poodle() {
+ bb.build.exec_func('do_apply_compat_wrapper', d)
+}
+
# Modify init script on platforms that need to boot old kernels:
do_apply_compat_wrapper() {
cd ${WORKDIR}