aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Yi Zheng <goodmenzy@gmail.com>2019-06-13 11:05:27 +0800
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-06-17 21:28:36 +0200
commit2dbce34b3a2c8fc1a854395f6c33df658371eae4 (patch)
tree2477e62c7b2c9ba9a94d4b7979da4ec269f50199
parent739c581663285db6efb3559969e9e04f873a38f7 (diff)
downloadbuildroot-2dbce34b3a2c8fc1a854395f6c33df658371eae4.tar.gz
buildroot-2dbce34b3a2c8fc1a854395f6c33df658371eae4.tar.bz2
package/systemd: add option to enable systemd-journal-remote
systemd-journal-remote was added in systemd v211, so add a new option to enable or disable it. Signed-off-by: Yi Zheng <goodmenzy@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/systemd/Config.in14
-rw-r--r--package/systemd/systemd.mk6
2 files changed, 20 insertions, 0 deletions
diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index 92ffc7cc5a..ad72a269ef 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -122,6 +122,20 @@ config BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY
http://www.freedesktop.org/software/systemd/man/systemd-journal-gatewayd.service.html
+config BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE
+ bool "enable systemd-journal-remote"
+ depends on BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY
+ select BR2_PACKAGE_LIBCURL
+ help
+ systemd-journal-remote is a command to receive serialized
+ journal events and store them to journal files. Input
+ streams are in the Journal Export Format[1], i.e. like the
+ output from journalctl --output=export. For transport over
+ the network, this serialized stream is usually carried over
+ an HTTPS connection.
+
+ https://www.freedesktop.org/software/systemd/man/systemd-journal-remote.service.html
+
config BR2_PACKAGE_SYSTEMD_BACKLIGHT
bool "enable backlight support"
help
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index edc4a9ecc1..e8fd7967bd 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -178,6 +178,12 @@ else
SYSTEMD_CONF_OPTS += -Dmicrohttpd=false -Dqrencode=false
endif
+ifeq ($(BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE),y)
+SYSTEMD_CONF_OPTS += -Dremote=true
+else
+SYSTEMD_CONF_OPTS += -Dremote=false
+endif
+
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
SYSTEMD_DEPENDENCIES += libselinux
SYSTEMD_CONF_OPTS += -Dselinux=true