package/systemd: group all journal-remote tools under a single option
The -Dremote=true flag enables three tools: systemd-journal-gatewayd, systemd-journal-remote and systemd-journal-upload. It is not possible with simple means to install them seperately. So use the systemd-journal-remote option to enable or disable them all together. Drop systemd-journal-gatewayd option and add it to legacy. Fixes: #12301 Signed-off-by: Michael Nosthoff <buildroot@heine.tech> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
c572e797a0
commit
e46fe9a6f2
@@ -146,6 +146,14 @@ endif
|
|||||||
|
|
||||||
comment "Legacy options removed in 2020.11"
|
comment "Legacy options removed in 2020.11"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY
|
||||||
|
bool "systemd-journal-gatewayd now in systemd-journal-remote"
|
||||||
|
select BR2_LEGACY
|
||||||
|
select BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE
|
||||||
|
help
|
||||||
|
All system journal remote programs are now enabled using
|
||||||
|
BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE.
|
||||||
|
|
||||||
config BR2_TARGET_UBOOT_BOOT_SCRIPT
|
config BR2_TARGET_UBOOT_BOOT_SCRIPT
|
||||||
bool "u-boot script generation was moved"
|
bool "u-boot script generation was moved"
|
||||||
select BR2_LEGACY
|
select BR2_LEGACY
|
||||||
|
|||||||
@@ -141,29 +141,25 @@ config BR2_PACKAGE_SYSTEMD_BOOT_EFI_ARCH
|
|||||||
default "x64" if BR2_x86_64
|
default "x64" if BR2_x86_64
|
||||||
depends on BR2_PACKAGE_SYSTEMD_BOOT
|
depends on BR2_PACKAGE_SYSTEMD_BOOT
|
||||||
|
|
||||||
config BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY
|
config BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE
|
||||||
bool "HTTP server for journal events"
|
bool "enable journal remote tools"
|
||||||
|
select BR2_PACKAGE_LIBCURL
|
||||||
select BR2_PACKAGE_LIBMICROHTTPD
|
select BR2_PACKAGE_LIBMICROHTTPD
|
||||||
help
|
help
|
||||||
|
journal remote functionality adds three tools:
|
||||||
|
|
||||||
systemd-journal-gatewayd serves journal events over the
|
systemd-journal-gatewayd serves journal events over the
|
||||||
network. Clients must connect using HTTP. The server
|
network.
|
||||||
listens on port 19531 by default.
|
|
||||||
|
|
||||||
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
|
systemd-journal-remote is a command to receive serialized
|
||||||
journal events and store them to journal files. Input
|
journal events and store them to journal files.
|
||||||
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.
|
|
||||||
|
|
||||||
|
systemd-journal-upload will upload journal entries to the
|
||||||
|
URL specified with --url=.
|
||||||
|
|
||||||
|
https://www.freedesktop.org/software/systemd/man/systemd-journal-gatewayd.service.html
|
||||||
https://www.freedesktop.org/software/systemd/man/systemd-journal-remote.service.html
|
https://www.freedesktop.org/software/systemd/man/systemd-journal-remote.service.html
|
||||||
|
https://www.freedesktop.org/software/systemd/man/systemd-journal-upload.html
|
||||||
|
|
||||||
config BR2_PACKAGE_SYSTEMD_BACKLIGHT
|
config BR2_PACKAGE_SYSTEMD_BACKLIGHT
|
||||||
bool "enable backlight support"
|
bool "enable backlight support"
|
||||||
|
|||||||
@@ -240,18 +240,13 @@ else
|
|||||||
SYSTEMD_CONF_OPTS += -Danalyze=false
|
SYSTEMD_CONF_OPTS += -Danalyze=false
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY),y)
|
|
||||||
SYSTEMD_DEPENDENCIES += libmicrohttpd
|
|
||||||
SYSTEMD_CONF_OPTS += -Dmicrohttpd=true
|
|
||||||
else
|
|
||||||
SYSTEMD_CONF_OPTS += -Dmicrohttpd=false
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE),y)
|
ifeq ($(BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE),y)
|
||||||
SYSTEMD_CONF_OPTS += -Dremote=true
|
# remote also depends on libcurl, this is already added above.
|
||||||
|
SYSTEMD_DEPENDENCIES += libmicrohttpd
|
||||||
|
SYSTEMD_CONF_OPTS += -Dremote=true -Dmicrohttpd=true
|
||||||
SYSTEMD_REMOTE_USER = systemd-journal-remote -1 systemd-journal-remote -1 * - - - systemd Journal Remote
|
SYSTEMD_REMOTE_USER = systemd-journal-remote -1 systemd-journal-remote -1 * - - - systemd Journal Remote
|
||||||
else
|
else
|
||||||
SYSTEMD_CONF_OPTS += -Dremote=false
|
SYSTEMD_CONF_OPTS += -Dremote=false -Dmicrohttpd=false
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBQRENCODE),y)
|
ifeq ($(BR2_PACKAGE_LIBQRENCODE),y)
|
||||||
|
|||||||
Reference in New Issue
Block a user