From patchwork Wed Feb 27 14:17:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/7] systemd: make gcrypt support (for signing the journal) optional Date: Wed, 27 Feb 2013 14:17:42 -0000 From: Ross Burton X-Patchwork-Id: 45211 Message-Id: <74fdcfba8943824f77aa877fbe72de270974ae59.1361974597.git.ross.burton@intel.com> To: openembedded-core@lists.openembedded.org Signed-off-by: Ross Burton --- meta/recipes-core/systemd/systemd_197.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_197.bb b/meta/recipes-core/systemd/systemd_197.bb index c871bb5..2232b60 100644 --- a/meta/recipes-core/systemd/systemd_197.bb +++ b/meta/recipes-core/systemd/systemd_197.bb @@ -11,7 +11,7 @@ PROVIDES = "udev" PE = "1" PR = "r4" -DEPENDS = "xz kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline dbus libcap libcgroup tcp-wrappers glib-2.0 libgcrypt" +DEPENDS = "xz kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline dbus libcap libcgroup tcp-wrappers glib-2.0" DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" SECTION = "base/shell" @@ -49,6 +49,10 @@ CACHED_CONFIGUREVARS = "ac_cv_file__usr_share_pci_ids=no \ GTKDOC_DOCDIR = "${S}/docs/" +PACKAGECONFIG ??= "" +# Sign the journal for anti-tampering +PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt" + # The gtk+ tools should get built as a separate recipe e.g. systemd-tools EXTRA_OECONF = " --with-distro=${SYSTEMDDISTRO} \ --with-rootprefix=${base_prefix} \