[oe-commits] Khem Raj : systemd: Enable building microhttpd via PACKAGECONFIG

git at git.openembedded.org git at git.openembedded.org
Tue Feb 11 17:23:37 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: 09706953cf0e1b97d5b8808bdca1e8c125b8a9f7
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=09706953cf0e1b97d5b8808bdca1e8c125b8a9f7

Author: Khem Raj <raj.khem at gmail.com>
Date:   Sat Feb  8 08:35:19 2014 -0800

systemd: Enable building microhttpd via PACKAGECONFIG

This will enables us to use journald-gatewayd

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/systemd/systemd_208.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd_208.bb b/meta/recipes-core/systemd/systemd_208.bb
index f94ce56..219607f 100644
--- a/meta/recipes-core/systemd/systemd_208.bb
+++ b/meta/recipes-core/systemd/systemd_208.bb
@@ -58,6 +58,7 @@ DEPENDS += "libgcrypt"
 PACKAGECONFIG[xz] = "--enable-xz,--disable-xz,xz"
 PACKAGECONFIG[tcp-wrappers] = "--enable-tcpwrap,--disable-tcpwrap,tcp-wrappers"
 PACKAGECONFIG[cryptsetup] = "--enable-libcryptsetup,--disable-libcryptsetup,cryptsetup"
+PACKAGECONFIG[microhttpd] = "--enable-microhttpd,--disable-microhttpd,libmicrohttpd"
 
 CACHED_CONFIGUREVARS = "ac_cv_path_KILL=${base_bindir}/kill"
 
@@ -77,7 +78,6 @@ EXTRA_OECONF = " --with-rootprefix=${rootprefix} \
                  --disable-introspection \
                  --disable-tcpwrap \
                  --enable-split-usr \
-                 --disable-microhttpd \
                  --without-python \
                  --with-sysvrcnd-path=${sysconfdir} \
                  --with-firmware-path=/lib/firmware \
@@ -149,6 +149,7 @@ SYSTEMD_PACKAGES = "${PN}-binfmt"
 SYSTEMD_SERVICE_${PN}-binfmt = "systemd-binfmt.service"
 
 USERADD_PACKAGES = "${PN}"
+USERADD_PARAM_${PN} += "--system systemd-journal-gateway"
 GROUPADD_PARAM_${PN} = "-r lock; -r systemd-journal"
 
 FILES_${PN}-analyze = "${bindir}/systemd-analyze"



More information about the Openembedded-commits mailing list