summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/at
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2012-12-02 00:29:05 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-06 12:30:36 +0000
commitde02e36ff17a44ce8cf33c59a78360cb2313f016 (patch)
tree6f93adb8f22c5c9ad87ee7f9cf4fc8f3413c92a2 /meta/recipes-extended/at
parentab56f1063a666df5faddd97f44758c8ae378e51c (diff)
downloadopenembedded-core-de02e36ff17a44ce8cf33c59a78360cb2313f016.tar.gz
openembedded-core-de02e36ff17a44ce8cf33c59a78360cb2313f016.tar.bz2
openembedded-core-de02e36ff17a44ce8cf33c59a78360cb2313f016.zip
at: change initscript dependency from build time to runtime
* doesn't look like build dependency Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/at')
-rw-r--r--meta/recipes-extended/at/at_3.1.13.bb13
1 files changed, 9 insertions, 4 deletions
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 \