summaryrefslogtreecommitdiff
path: root/meta/recipes-core/systemd
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-02-08 08:35:19 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-11 17:15:26 +0000
commit09706953cf0e1b97d5b8808bdca1e8c125b8a9f7 (patch)
tree56236f7ae25c3fc275a4879003348f694dd1ed45 /meta/recipes-core/systemd
parent8339b9ac16e7d3206de21a204beffaae5203adbb (diff)
downloadopenembedded-core-09706953cf0e1b97d5b8808bdca1e8c125b8a9f7.tar.gz
openembedded-core-09706953cf0e1b97d5b8808bdca1e8c125b8a9f7.tar.bz2
openembedded-core-09706953cf0e1b97d5b8808bdca1e8c125b8a9f7.zip
systemd: Enable building microhttpd via PACKAGECONFIG
This will enables us to use journald-gatewayd Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r--meta/recipes-core/systemd/systemd_208.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd_208.bb b/meta/recipes-core/systemd/systemd_208.bb
index f94ce56252..219607f18f 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"