package/systemd: add homed support
PATCH 1/1 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 <[email protected]>
--- package/systemd/Config.in | 15 +++++++++++++++ package/systemd/systemd.mk | 8 +++++++- 2 files changed, 22 insertions(+), 1 deletion(-)
package/systemd/Config.in +15 -0
@@ -188,6 +188,21 @@ 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 + 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 + config BR2_PACKAGE_SYSTEMD_HOSTNAMED bool "enable hostname daemon" default y
package/systemd/systemd.mk +7 -1
@@ -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
Signature · 1 line
2.20.1
PATCH 1/1 package/systemd: add homed support
Quoted 14 lines · On Sun, 8 Mar 2020 15:49:36 -0600 James Hilliard <[email protected]>…
systemd-homed is a system service that may be used to create, remove, change or inspect home directories.
Signed-off-by James Hilliard <[email protected]>--- package/systemd/Config.in | 15 +++++++++++++++ package/systemd/systemd.mk | 8 +++++++- 2 files changed, 22 insertions(+), 1 deletion(-)package/systemd/Config.in +0
-0
package/systemd/Config.in config BR2_PACKAGE_SYSTEMD_HIBERNATE · line 196
Quoted 9 lines
package/systemd/Config.in +6
-0@@ -188,6 +188,21 @@ 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
You were missing a dependency on headers >= 4.12 here, which is needed for the fscrypt_key structure definition.
Also, a Config.in comment was missing.
I've fixed both issues, and applied. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com