diff options
author | Ross Burton <ross.burton@intel.com> | 2015-02-27 14:57:47 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-27 19:03:10 +0000 |
commit | aef3a581cfe5ebfca07451bcb0791aeecb97c21e (patch) | |
tree | 7c0448756129036415135fcd34197a149c5bfd24 /meta | |
parent | c0bd9e6da735e85df848363aa39ed5679db40df3 (diff) | |
download | poky-aef3a581cfe5ebfca07451bcb0791aeecb97c21e.tar.gz |
systemd: use PACKAGECONFIG for PAM enable/disable
(From OE-Core rev: 57110cb701f16b59a92efcce1057ba2622e568cf)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/systemd/systemd_219.bb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-core/systemd/systemd_219.bb b/meta/recipes-core/systemd/systemd_219.bb index 800a4955a4..747964e038 100644 --- a/meta/recipes-core/systemd/systemd_219.bb +++ b/meta/recipes-core/systemd/systemd_219.bb | |||
@@ -20,7 +20,6 @@ PROVIDES = "udev" | |||
20 | PE = "1" | 20 | PE = "1" |
21 | 21 | ||
22 | DEPENDS = "kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline dbus libcap libcgroup glib-2.0 qemu-native util-linux" | 22 | DEPENDS = "kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline dbus libcap libcgroup glib-2.0 qemu-native util-linux" |
23 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | ||
24 | 23 | ||
25 | SECTION = "base/shell" | 24 | SECTION = "base/shell" |
26 | 25 | ||
@@ -56,7 +55,7 @@ LDFLAGS_append_libc-uclibc = " -lrt" | |||
56 | 55 | ||
57 | GTKDOC_DOCDIR = "${S}/docs/" | 56 | GTKDOC_DOCDIR = "${S}/docs/" |
58 | 57 | ||
59 | PACKAGECONFIG ??= "xz" | 58 | PACKAGECONFIG ??= "xz ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" |
60 | PACKAGECONFIG[journal-upload] = "--enable-libcurl,--disable-libcurl,curl" | 59 | PACKAGECONFIG[journal-upload] = "--enable-libcurl,--disable-libcurl,curl" |
61 | # Sign the journal for anti-tampering | 60 | # Sign the journal for anti-tampering |
62 | PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt" | 61 | PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt" |
@@ -73,6 +72,7 @@ PACKAGECONFIG[networkd] = "--enable-networkd,--disable-networkd" | |||
73 | PACKAGECONFIG[libidn] = "--enable-libidn,--disable-libidn,libidn" | 72 | PACKAGECONFIG[libidn] = "--enable-libidn,--disable-libidn,libidn" |
74 | PACKAGECONFIG[audit] = "--enable-audit,--disable-audit,audit" | 73 | PACKAGECONFIG[audit] = "--enable-audit,--disable-audit,audit" |
75 | PACKAGECONFIG[manpages] = "--enable-manpages,--disable-manpages,libxslt-native xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native" | 74 | PACKAGECONFIG[manpages] = "--enable-manpages,--disable-manpages,libxslt-native xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native" |
75 | PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam" | ||
76 | 76 | ||
77 | CACHED_CONFIGUREVARS = "ac_cv_path_KILL=${base_bindir}/kill" | 77 | CACHED_CONFIGUREVARS = "ac_cv_path_KILL=${base_bindir}/kill" |
78 | 78 | ||
@@ -86,7 +86,6 @@ rootlibexecdir = "${rootprefix}/lib" | |||
86 | EXTRA_OECONF = " --with-rootprefix=${rootprefix} \ | 86 | EXTRA_OECONF = " --with-rootprefix=${rootprefix} \ |
87 | --with-rootlibdir=${rootlibdir} \ | 87 | --with-rootlibdir=${rootlibdir} \ |
88 | --with-roothomedir=${ROOT_HOME} \ | 88 | --with-roothomedir=${ROOT_HOME} \ |
89 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)} \ | ||
90 | --disable-coredump \ | 89 | --disable-coredump \ |
91 | --disable-introspection \ | 90 | --disable-introspection \ |
92 | --disable-kdbus \ | 91 | --disable-kdbus \ |
@@ -252,6 +251,7 @@ FILES_${PN} = " ${base_bindir}/* \ | |||
252 | ${sysconfdir}/dbus-1/ \ | 251 | ${sysconfdir}/dbus-1/ \ |
253 | ${sysconfdir}/machine-id \ | 252 | ${sysconfdir}/machine-id \ |
254 | ${sysconfdir}/modules-load.d/ \ | 253 | ${sysconfdir}/modules-load.d/ \ |
254 | ${sysconfdir}/pam.d/ \ | ||
255 | ${sysconfdir}/sysctl.d/ \ | 255 | ${sysconfdir}/sysctl.d/ \ |
256 | ${sysconfdir}/systemd/ \ | 256 | ${sysconfdir}/systemd/ \ |
257 | ${sysconfdir}/tmpfiles.d/ \ | 257 | ${sysconfdir}/tmpfiles.d/ \ |
@@ -279,7 +279,6 @@ FILES_${PN} = " ${base_bindir}/* \ | |||
279 | /lib/udev/rules.d/71-seat.rules \ | 279 | /lib/udev/rules.d/71-seat.rules \ |
280 | /lib/udev/rules.d/73-seat-late.rules \ | 280 | /lib/udev/rules.d/73-seat-late.rules \ |
281 | /lib/udev/rules.d/99-systemd.rules \ | 281 | /lib/udev/rules.d/99-systemd.rules \ |
282 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${sysconfdir}/pam.d', '', d)} \ | ||
283 | " | 282 | " |
284 | 283 | ||
285 | FILES_${PN}-dbg += "${rootlibdir}/.debug ${systemd_unitdir}/.debug ${systemd_unitdir}/*/.debug ${base_libdir}/security/.debug/" | 284 | FILES_${PN}-dbg += "${rootlibdir}/.debug ${systemd_unitdir}/.debug ${systemd_unitdir}/*/.debug ${base_libdir}/security/.debug/" |