Comments
Patch
@@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
# Needed for udev-extras
DEPENDS = "gperf-native usbutils acl glib-2.0"
-PR = "r2"
+PR = "r3"
# version specific SRC_URI
SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
@@ -81,7 +81,7 @@ FILES_${PN} += "/lib/udev*"
FILES_${PN}-dbg += "/lib/udev/.debug"
FILES_${PN}-consolekit += "${libdir}/ConsoleKit"
-RDEPENDS_${PN}-consolekit += "consolekit"
+RDEPENDS_${PN}-consolekit += "${@base_contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)}"
do_install () {
install -d ${D}${usrsbindir} \
@@ -18,6 +18,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
# Needed for udev-extras
DEPENDS = "gperf-native usbutils acl glib-2.0"
+PR = "r1"
+
# 6f410b81aa6d588b03ae795c9b76468591ef7efa -> 175 tag
SRCREV = "6f410b81aa6d588b03ae795c9b76468591ef7efa"
@@ -77,7 +79,7 @@ FILES_${PN} += "/lib/udev*"
FILES_${PN}-dbg += "/lib/udev/.debug"
FILES_${PN}-consolekit += "${libdir}/ConsoleKit"
-RDEPENDS_${PN}-consolekit += "consolekit"
+RDEPENDS_${PN}-consolekit += "${@base_contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)}"
do_install () {
install -d ${D}${usrsbindir} \
@@ -19,6 +19,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
# kmod: needed for libkmod
DEPENDS = "gperf-native usbutils acl glib-2.0 util-linux kmod"
+PR = "r1"
+
# version specific SRC_URI
SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/${P}.tar.gz \
file://gtk-doc.make"
@@ -73,7 +75,7 @@ FILES_${PN} += "/lib/udev*"
FILES_${PN}-dbg += "/lib/udev/.debug"
FILES_${PN}-consolekit += "${libdir}/ConsoleKit"
-RDEPENDS_${PN}-consolekit += "consolekit"
+RDEPENDS_${PN}-consolekit += "${@base_contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)}"
FILES_udev-utils = "${bindir}/udevadm"
* consolekit fails to build without x11, so drop the runtime dependency on consolekit if x11 is unavailable. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> --- v1->v2: Instead of removing the package, drop the runtime dependency on consolekit. v2->v3: Bump PRs. meta-oe/recipes-core/udev/udev_173.bb | 4 ++-- meta-oe/recipes-core/udev/udev_175.bb | 4 +++- meta-oe/recipes-core/udev/udev_181.bb | 4 +++- 3 files changed, 8 insertions(+), 4 deletions(-)