From 6293399a673326057487541e4b4fcc110201f6c6 Mon Sep 17 00:00:00 2001 From: Andrea Adami Date: Fri, 30 Jul 2010 00:35:53 +0200 Subject: udev: add support for udev-compat for c7x0 and poodle * following spitz + akita * fixed RDEPENDS of .154 --- recipes/udev/udev.inc | 11 +++++++++++ recipes/udev/udev_151.bb | 11 +++++++++++ recipes/udev/udev_154.bb | 19 +++++++++++++++---- 3 files changed, 37 insertions(+), 4 deletions(-) (limited to 'recipes/udev') 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} -- cgit v1.2.3