package/systemd: Add config option for sysupdate feature
Support the new feature added with v251, requires openssl. Signed-off-by: Norbert Lange <nolange79@gmail.com> Reviewed-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
parent
a2c823d1f5
commit
545f8c4b5a
@ -481,6 +481,22 @@ config BR2_PACKAGE_SYSTEMD_SYSEXT
|
||||
|
||||
https://www.freedesktop.org/software/systemd/man/systemd-sysext.html
|
||||
|
||||
config BR2_PACKAGE_SYSTEMD_SYSUPDATE
|
||||
bool "enable sysupdate support"
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
|
||||
select BR2_PACKAGE_UTIL_LINUX_LIBFDISK
|
||||
help
|
||||
systemd-sysupdate atomically updates the host OS, container
|
||||
images, portable service images or other sources, based on
|
||||
the transfer configuration files described in sysupdate.d.
|
||||
|
||||
Note that the bootloader must be configured specifically to
|
||||
support the A/B update mechanism defined by sysupdate. Only
|
||||
systemd-boot does this out of the box.
|
||||
|
||||
https://www.freedesktop.org/software/systemd/man/systemd-sysupdate.html
|
||||
|
||||
config BR2_PACKAGE_SYSTEMD_SYSUSERS
|
||||
bool "enable sysusers support"
|
||||
help
|
||||
|
@ -91,7 +91,6 @@ SYSTEMD_CONF_OPTS += \
|
||||
-Dsulogin-path=/usr/sbin/sulogin \
|
||||
-Dsystem-gid-max=999 \
|
||||
-Dsystem-uid-max=999 \
|
||||
-Dsysupdate=false \
|
||||
-Dsysvinit-path= \
|
||||
-Dsysvrcnd-path= \
|
||||
-Dtelinit-path= \
|
||||
@ -494,6 +493,12 @@ else
|
||||
SYSTEMD_CONF_OPTS += -Dsysext=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD_SYSUPDATE),y)
|
||||
SYSTEMD_CONF_OPTS += -Dsysupdate=true
|
||||
else
|
||||
SYSTEMD_CONF_OPTS += -Dsysupdate=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y)
|
||||
SYSTEMD_CONF_OPTS += -Dnetworkd=true
|
||||
SYSTEMD_NETWORKD_USER = systemd-network -1 systemd-network -1 * - - - systemd Network Management
|
||||
|
Loading…
Reference in New Issue
Block a user