[oe-commits] Koen Kooi : systemd: Enable pam if present in DISTRO_FEATURES
git version control
git at git.openembedded.org
Sat May 7 10:32:59 UTC 2011
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 037e0370587a77e6efa4e5b4aebbd12b4156aaaf
URL: http://git.openembedded.org/?p=openembedded.git&a=commit;h=037e0370587a77e6efa4e5b4aebbd12b4156aaaf
Author: Koen Kooi <koen at openembedded.org>
Date: Sat May 7 11:02:17 2011 +0200
systemd: Enable pam if present in DISTRO_FEATURES
Signed-off-by: Koen Kooi <koen at openembedded.org>
---
recipes/systemd/systemd_git.bb | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/recipes/systemd/systemd_git.bb b/recipes/systemd/systemd_git.bb
index dd0c89a..6688eed 100644
--- a/recipes/systemd/systemd_git.bb
+++ b/recipes/systemd/systemd_git.bb
@@ -4,11 +4,13 @@ LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
DEPENDS = "readline udev dbus libcap2 libcgroup"
+DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
+
PRIORITY = "optional"
SECTION = "base/shell"
PV = "v26"
-PR = "r7"
+PR = "r8"
PR_append = "+${SRCPV}"
inherit autotools vala update-alternatives
@@ -31,6 +33,7 @@ SYSTEMDDISTRO_angstrom = "angstrom"
# The gtk+ tools should get built as a separate recipe e.g. systemd-tools
EXTRA_OECONF = " --with-distro=${SYSTEMDDISTRO} \
--with-rootdir=${base_prefix} \
+ ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)} \
--disable-gtk \
"
More information about the Openembedded-commits
mailing list