diff options
author | Yasir-Khan <yasir_khan@mentor.com> | 2014-08-13 18:48:13 +0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-15 18:21:50 +0100 |
commit | 276285bfa26c5142a5f4869d6670f37bb91da5db (patch) | |
tree | af98e7772b71b1992bd96124fe5ce83edbba98d2 /meta/recipes-support/consolekit/consolekit_0.4.6.bb | |
parent | 0cd5af027234735fe83d0681dbdddb197c02f262 (diff) | |
download | poky-276285bfa26c5142a5f4869d6670f37bb91da5db.tar.gz |
consolekit: allow explicit enable/disable of polkit
Adds the configure option to enable/disable policykit.
(From OE-Core rev: 66d53c40f1eb614803a34dfa3741b170785c637d)
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/consolekit/consolekit_0.4.6.bb')
-rw-r--r-- | meta/recipes-support/consolekit/consolekit_0.4.6.bb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-support/consolekit/consolekit_0.4.6.bb b/meta/recipes-support/consolekit/consolekit_0.4.6.bb index 98516166cf..643850f8ef 100644 --- a/meta/recipes-support/consolekit/consolekit_0.4.6.bb +++ b/meta/recipes-support/consolekit/consolekit_0.4.6.bb | |||
@@ -12,7 +12,9 @@ RDEPENDS_${PN} += "base-files" | |||
12 | inherit autotools pkgconfig | 12 | inherit autotools pkgconfig |
13 | 13 | ||
14 | SRC_URI = "http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-${PV}.tar.xz \ | 14 | SRC_URI = "http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-${PV}.tar.xz \ |
15 | file://sepbuildfix.patch" | 15 | file://sepbuildfix.patch \ |
16 | file://add-polkit-configure-argument.patch \ | ||
17 | " | ||
16 | 18 | ||
17 | SRC_URI[md5sum] = "611792b4d616253a5bdec9175f8b7678" | 19 | SRC_URI[md5sum] = "611792b4d616253a5bdec9175f8b7678" |
18 | SRC_URI[sha256sum] = "b41d17e06f80059589fbeefe96ad07bcc564c49e65516da1caf975146475565c" | 20 | SRC_URI[sha256sum] = "b41d17e06f80059589fbeefe96ad07bcc564c49e65516da1caf975146475565c" |
@@ -23,8 +25,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} | |||
23 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | 25 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" |
24 | 26 | ||
25 | PACKAGECONFIG[pam] = "--enable-pam-module --with-pam-module-dir=${base_libdir}/security,--disable-pam-module,libpam" | 27 | PACKAGECONFIG[pam] = "--enable-pam-module --with-pam-module-dir=${base_libdir}/security,--disable-pam-module,libpam" |
26 | # No option to turn it on or off, so rely on the build dependency for now. | 28 | PACKAGECONFIG[policykit] = "--with-polkit,--without-polkit,polkit" |
27 | PACKAGECONFIG[policykit] = ",,polkit" | ||
28 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--with-systemdsystemunitdir=" | 29 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--with-systemdsystemunitdir=" |
29 | 30 | ||
30 | FILES_${PN} += "${localstatedir}/log/ConsoleKit ${exec_prefix}/lib/ConsoleKit \ | 31 | FILES_${PN} += "${localstatedir}/log/ConsoleKit ${exec_prefix}/lib/ConsoleKit \ |