package/systemd: add homed support
systemd-homed is a system service that may be used to create, remove, change or inspect home directories. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> [Thomas: - add missing dependency on kernel headers >= 4.12 - add missing Config.in comment about dependency] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
3d71ffcf8d
commit
fa62b5165c
@ -193,6 +193,28 @@ config BR2_PACKAGE_SYSTEMD_HIBERNATE
|
||||
|
||||
http://www.freedesktop.org/software/systemd/man/systemd-sleep.html
|
||||
|
||||
config BR2_PACKAGE_SYSTEMD_HOMED
|
||||
bool "enable home daemon"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # cryptsetup -> lvm2
|
||||
depends on BR2_USE_MMU # cryptsetup -> lvm2
|
||||
depends on !BR2_STATIC_LIBS # cryptsetup -> lvm2
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # cryptsetup -> json-c
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 # fscrypt_key
|
||||
select BR2_PACKAGE_CRYPTSETUP
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_UTIL_LINUX_LIBFDISK
|
||||
help
|
||||
systemd-homed is a system service that may be used to create,
|
||||
remove, change or inspect home directories.
|
||||
|
||||
https://www.freedesktop.org/software/systemd/man/systemd-homed.service.html
|
||||
|
||||
comment "homed support needs a toolchain w/ threads, dynamic library, kernel headers >= 4.12"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_STATIC_LIBS || BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
|
||||
|
||||
config BR2_PACKAGE_SYSTEMD_HOSTNAMED
|
||||
bool "enable hostname daemon"
|
||||
default y
|
||||
|
@ -41,7 +41,6 @@ SYSTEMD_CONF_OPTS += \
|
||||
-Dumount-path=/usr/bin/umount \
|
||||
-Dnobody-group=nogroup \
|
||||
-Didn=true \
|
||||
-Dhomed=false \
|
||||
-Dnss-systemd=true
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ACL),y)
|
||||
@ -279,6 +278,13 @@ else
|
||||
SYSTEMD_CONF_OPTS += -Dimportd=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD_HOMED),y)
|
||||
SYSTEMD_CONF_OPTS += -Dhomed=true
|
||||
SYSTEMD_DEPENDENCIES += cryptsetup openssl
|
||||
else
|
||||
SYSTEMD_CONF_OPTS += -Dhomed=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD_HOSTNAMED),y)
|
||||
SYSTEMD_CONF_OPTS += -Dhostnamed=true
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user