From de02e36ff17a44ce8cf33c59a78360cb2313f016 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sun, 2 Dec 2012 00:29:05 +0100 Subject: at: change initscript dependency from build time to runtime * doesn't look like build dependency Signed-off-by: Martin Jansa Signed-off-by: Saul Wold --- meta/recipes-extended/at/at_3.1.13.bb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'meta/recipes-extended/at') diff --git a/meta/recipes-extended/at/at_3.1.13.bb b/meta/recipes-extended/at/at_3.1.13.bb index 3580e0965a..198b46e71d 100644 --- a/meta/recipes-extended/at/at_3.1.13.bb +++ b/meta/recipes-extended/at/at_3.1.13.bb @@ -4,14 +4,19 @@ the system load levels drop to a particular level." SECTION = "base" LICENSE="GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4" -DEPENDS = "flex flex-native initscripts \ - ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" -RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)}" +DEPENDS = "flex flex-native \ + ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" + +VIRTUAL-RUNTIME_initscripts ?= "initscripts" +RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)} \ + ${VIRTUAL-RUNTIME_initscripts} \ +" + PAM_DEPS = "libpam libpam-runtime pam-plugin-env pam-plugin-limits" RCONFLICTS_${PN} = "atd" RREPLACES_${PN} = "atd" -PR = "r4" +PR = "r5" SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \ file://configure.patch \ -- cgit v1.2.3