package/systemd: add optional support for tmpfiles
PATCH 1/31 package/systemd: add optional support for tmpfiles
From: Gabe Evans <[email protected]>
--- package/systemd/Config.in | 10 ++++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 16 insertions(+)
package/systemd/Config.in +10 -0
@@ -131,6 +131,16 @@ config BR2_PACKAGE_SYSTEMD_QUOTACHECK http://www.freedesktop.org/software/systemd/man/systemd-quotacheck.service.html +config BR2_PACKAGE_SYSTEMD_TMPFILES + bool "enable tmpfiles support" + default y + help + systemd-tmpfiles creates, deletes, and cleans up volatile and temporary + files and directories, based on the configuration file format and location + specified in tmpfiles.d(5). + + http://www.freedesktop.org/software/systemd/man/systemd-tmpfiles.html + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help
package/systemd/systemd.mk +6 -0
@@ -159,6 +159,12 @@ else SYSTEMD_CONF_OPTS += --disable-quotacheck endif +ifeq ($(BR2_PACKAGE_SYSTEMD_TMPFILES),y) +SYSTEMD_CONF_OPTS += --enable-tmpfiles +else +SYSTEMD_CONF_OPTS += --disable-tmpfiles +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK
Signature · 1 line
2.8.1
PATCH 2/31 package/systemd: add optional support for sysusers
From: Gabe Evans <[email protected]>
--- package/systemd/Config.in | 8 ++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 14 insertions(+)
package/systemd/Config.in +8 -0
@@ -141,6 +141,14 @@ config BR2_PACKAGE_SYSTEMD_TMPFILES http://www.freedesktop.org/software/systemd/man/systemd-tmpfiles.html +config BR2_PACKAGE_SYSTEMD_SYSUSERS + bool "enable sysusers support" + help + systemd-sysusers creates system users and groups, based on the file format + and location specified in sysusers.d(5). + + http://www.freedesktop.org/software/systemd/man/systemd-sysusers.html + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help
package/systemd/systemd.mk +6 -0
@@ -165,6 +165,12 @@ else SYSTEMD_CONF_OPTS += --disable-tmpfiles endif +ifeq ($(BR2_PACKAGE_SYSTEMD_SYSUSERS),y) +SYSTEMD_CONF_OPTS += --enable-sysusers +else +SYSTEMD_CONF_OPTS += --disable-sysusers +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK
Signature · 1 line
2.8.1
PATCH 3/31 package/systemd: add optional support for firstboot
In reply to Maxime HadjinlianFrom: Gabe Evans <[email protected]>
--- package/systemd/Config.in | 9 +++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 15 insertions(+)
package/systemd/Config.in +9 -0
@@ -149,6 +149,15 @@ config BR2_PACKAGE_SYSTEMD_SYSUSERS http://www.freedesktop.org/software/systemd/man/systemd-sysusers.html +config BR2_PACKAGE_SYSTEMD_FIRSTBOOT + bool "enable firstboot support" + default y + help + systemd-firstboot initializes the most basic system settings interactively + on the first boot. + + http://www.freedesktop.org/software/systemd/man/systemd-firstboot.html + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help
package/systemd/systemd.mk +6 -0
@@ -171,6 +171,12 @@ else SYSTEMD_CONF_OPTS += --disable-sysusers endif +ifeq ($(BR2_PACKAGE_SYSTEMD_FIRSTBOOT),y) +SYSTEMD_CONF_OPTS += --enable-firstboot +else +SYSTEMD_CONF_OPTS += --disable-firstboot +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK
Signature · 1 line
2.8.1
PATCH 4/31 package/systemd: add optional support for random-seed
In reply to Maxime HadjinlianFrom: Gabe Evans <[email protected]>
--- package/systemd/Config.in | 9 +++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 15 insertions(+)
package/systemd/Config.in +9 -0
@@ -158,6 +158,15 @@ config BR2_PACKAGE_SYSTEMD_FIRSTBOOT http://www.freedesktop.org/software/systemd/man/systemd-firstboot.html +config BR2_PACKAGE_SYSTEMD_RANDOMSEED + bool "enable random-seed support" + help + systemd-random-seed is a service that restores the random seed of the system + at early boot and saves it at shutdown. Saving/restoring the random seed + across boots increases the amount of available entropy early at boot. + + http://www.freedesktop.org/software/systemd/man/systemd-random-seed.service.html + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help
package/systemd/systemd.mk +6 -0
@@ -177,6 +177,12 @@ else SYSTEMD_CONF_OPTS += --disable-firstboot endif +ifeq ($(BR2_PACKAGE_SYSTEMD_RANDOMSEED),y) +SYSTEMD_CONF_OPTS += --enable-randomseed +else +SYSTEMD_CONF_OPTS += --disable-randomseed +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK
Signature · 1 line
2.8.1
PATCH 5/31 package/systemd: add optional support for backlight
In reply to Maxime HadjinlianFrom: Gabe Evans <[email protected]>
--- package/systemd/Config.in | 8 ++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 14 insertions(+)
package/systemd/Config.in +8 -0
@@ -167,6 +167,14 @@ config BR2_PACKAGE_SYSTEMD_RANDOMSEED http://www.freedesktop.org/software/systemd/man/systemd-random-seed.service.html +config BR2_PACKAGE_SYSTEMD_BACKLIGHT + bool "enable backlight support" + help + systemd-backlight is a service that restores the display backlight + brightness at early boot and saves it at shutdown. + + http://www.freedesktop.org/software/systemd/man/systemd-backlight at .service.html + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help
package/systemd/systemd.mk +6 -0
@@ -183,6 +183,12 @@ else SYSTEMD_CONF_OPTS += --disable-randomseed endif +ifeq ($(BR2_PACKAGE_SYSTEMD_BACKLIGHT),y) +SYSTEMD_CONF_OPTS += --enable-backlight +else +SYSTEMD_CONF_OPTS += --disable-backlight +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK
Signature · 1 line
2.8.1
PATCH 6/31 package/systemd: add optional support for rfkill
In reply to Maxime HadjinlianFrom: Gabe Evans <[email protected]>
--- package/systemd/Config.in | 8 ++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 14 insertions(+)
package/systemd/Config.in +8 -0
@@ -175,6 +175,14 @@ config BR2_PACKAGE_SYSTEMD_BACKLIGHT http://www.freedesktop.org/software/systemd/man/systemd-backlight at .service.html +config BR2_PACKAGE_SYSTEMD_RFKILL + bool "enable rfkill tools" + help + systemd-rfkill is a service that restores the RF kill switch state at early + boot and saves it at shutdown. + + http://www.freedesktop.org/software/systemd/man/systemd-rfkill at .service.html + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help
package/systemd/systemd.mk +6 -0
@@ -189,6 +189,12 @@ else SYSTEMD_CONF_OPTS += --disable-backlight endif +ifeq ($(BR2_PACKAGE_SYSTEMD_RFKILL),y) +SYSTEMD_CONF_OPTS += --enable-rfkill +else +SYSTEMD_CONF_OPTS += --disable-rfkill +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK
Signature · 1 line
2.8.1
PATCH 7/31 package/systemd: add optional support for logind
In reply to Maxime HadjinlianFrom: Gabe Evans <[email protected]>
--- package/systemd/Config.in | 7 +++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 13 insertions(+)
package/systemd/Config.in +7 -0
@@ -183,6 +183,13 @@ config BR2_PACKAGE_SYSTEMD_RFKILL http://www.freedesktop.org/software/systemd/man/systemd-rfkill at .service.html +config BR2_PACKAGE_SYSTEMD_LOGIND + bool "enable login daemon" + help + systemd-logind is a system service that manages user logins. + + http://www.freedesktop.org/software/systemd/man/systemd-logind.service.html + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help
package/systemd/systemd.mk +6 -0
@@ -195,6 +195,12 @@ else SYSTEMD_CONF_OPTS += --disable-rfkill endif +ifeq ($(BR2_PACKAGE_SYSTEMD_LOGIND),y) +SYSTEMD_CONF_OPTS += --enable-logind +else +SYSTEMD_CONF_OPTS += --disable-logind +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK
Signature · 1 line
2.8.1
PATCH 8/31 package/systemd: add optional support for machined
In reply to Maxime HadjinlianFrom: Gabe Evans <[email protected]>
--- package/systemd/Config.in | 8 ++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 14 insertions(+)
package/systemd/Config.in +8 -0
@@ -190,6 +190,14 @@ config BR2_PACKAGE_SYSTEMD_LOGIND http://www.freedesktop.org/software/systemd/man/systemd-logind.service.html +config BR2_PACKAGE_SYSTEMD_MACHINED + bool "enable machine daemon" + help + systemd-machined is a system service that keeps track of virtual machines + and containers, and processes belonging to them. + + http://www.freedesktop.org/software/systemd/man/systemd-machined.service.html + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help
package/systemd/systemd.mk +6 -0
@@ -201,6 +201,12 @@ else SYSTEMD_CONF_OPTS += --disable-logind endif +ifeq ($(BR2_PACKAGE_SYSTEMD_MACHINED),y) +SYSTEMD_CONF_OPTS += --enable-machined +else +SYSTEMD_CONF_OPTS += --disable-machined +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK
Signature · 1 line
2.8.1
PATCH 9/31 package/systemd: add optional support for importd
In reply to Maxime HadjinlianFrom: Gabe Evans <[email protected]>
--- package/systemd/Config.in | 14 ++++++++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 20 insertions(+)
package/systemd/Config.in +14 -0
@@ -198,6 +198,20 @@ config BR2_PACKAGE_SYSTEMD_MACHINED http://www.freedesktop.org/software/systemd/man/systemd-machined.service.html +config BR2_PACKAGE_SYSTEMD_IMPORTD + bool "enable import daemon" + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBGCRYPT + select BR2_PACKAGE_BZIP2 + select BR2_PACKAGE_LZ4 + select BR2_PACKAGE_XZ + select BR2_PACKAGE_ZLIB + help + systemd-importd is a system service that manages virtual machine and + container images for systemd-machined and machinectl. + + http://www.freedesktop.org/software/systemd/man/machinectl.html#Image%20Transfer%20Commands + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help
package/systemd/systemd.mk +6 -0
@@ -207,6 +207,12 @@ else SYSTEMD_CONF_OPTS += --disable-machined endif +ifeq ($(BR2_PACKAGE_SYSTEMD_IMPORTD),y) +SYSTEMD_CONF_OPTS += --enable-importd +else +SYSTEMD_CONF_OPTS += --disable-importd +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK
Signature · 1 line
2.8.1
PATCH 10/31 package/systemd: add optional support for hostnamed
In reply to Maxime HadjinlianFrom: Gabe Evans <[email protected]>
--- package/systemd/Config.in | 9 +++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 15 insertions(+)
package/systemd/Config.in +9 -0
@@ -212,6 +212,15 @@ config BR2_PACKAGE_SYSTEMD_IMPORTD http://www.freedesktop.org/software/systemd/man/machinectl.html#Image%20Transfer%20Commands +config BR2_PACKAGE_SYSTEMD_HOSTNAMED + bool "enable hostname daemon" + default y + help + systemd-hostnamed is a system service that may be used as a mechanism to + change the system's hostname. + + http://www.freedesktop.org/software/systemd/man/systemd-hostnamed.service.html + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help
package/systemd/systemd.mk +6 -0
@@ -213,6 +213,12 @@ else SYSTEMD_CONF_OPTS += --disable-importd endif +ifeq ($(BR2_PACKAGE_SYSTEMD_HOSTNAMED),y) +SYSTEMD_CONF_OPTS += --enable-hostnamed +else +SYSTEMD_CONF_OPTS += --disable-hostnamed +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK
Signature · 1 line
2.8.1
PATCH 11/31 package/systemd: add optional support for timedated
In reply to Maxime HadjinlianFrom: Gabe Evans <[email protected]>
--- package/systemd/Config.in | 10 ++++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 16 insertions(+)
package/systemd/Config.in +10 -0
@@ -221,6 +221,16 @@ config BR2_PACKAGE_SYSTEMD_HOSTNAMED http://www.freedesktop.org/software/systemd/man/systemd-hostnamed.service.html +config BR2_PACKAGE_SYSTEMD_TIMEDATED + bool "enable timedate daemon" + default y + help + systemd-timedated is a system service that may be used as a mechanism to + change the system clock and timezone, as well as to enable/disable NTP + time synchronization. + + http://www.freedesktop.org/software/systemd/man/systemd-timedated.service.html + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help
package/systemd/systemd.mk +6 -0
@@ -219,6 +219,12 @@ else SYSTEMD_CONF_OPTS += --disable-hostnamed endif +ifeq ($(BR2_PACKAGE_SYSTEMD_TIMEDATED),y) +SYSTEMD_CONF_OPTS += --enable-timedated +else +SYSTEMD_CONF_OPTS += --disable-timedated +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK
Signature · 1 line
2.8.1
PATCH 12/31 package/systemd: add optional support for localed
In reply to Maxime HadjinlianFrom: Gabe Evans <[email protected]>
--- package/systemd/Config.in | 9 +++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 15 insertions(+)
package/systemd/Config.in +9 -0
@@ -231,6 +231,15 @@ config BR2_PACKAGE_SYSTEMD_TIMEDATED http://www.freedesktop.org/software/systemd/man/systemd-timedated.service.html +config BR2_PACKAGE_SYSTEMD_LOCALED + bool "enable locale daemon" + help + systemd-localed is a system service that may be used as mechanism to change + the system locale settings, as well as the console key mapping and default + X11 key mapping. + + http://www.freedesktop.org/software/systemd/man/systemd-localed.service.html + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help
package/systemd/systemd.mk +6 -0
@@ -225,6 +225,12 @@ else SYSTEMD_CONF_OPTS += --disable-timedated endif +ifeq ($(BR2_PACKAGE_SYSTEMD_LOCALED),y) +SYSTEMD_CONF_OPTS += --enable-localed +else +SYSTEMD_CONF_OPTS += --disable-localed +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK
Signature · 1 line
2.8.1
PATCH 13/31 package/systemd: add optional support for coredump
In reply to Maxime HadjinlianFrom: Gabe Evans <[email protected]>
--- package/systemd/Config.in | 8 ++++++++ package/systemd/systemd.mk | 7 +++++++ 2 files changed, 15 insertions(+)
package/systemd/Config.in +8 -0
@@ -240,6 +240,14 @@ config BR2_PACKAGE_SYSTEMD_LOCALED http://www.freedesktop.org/software/systemd/man/systemd-localed.service.html +config BR2_PACKAGE_SYSTEMD_COREDUMP + bool "enable coredump hook" + help + systemd-coredump can be used as a helper binary by the kernel when a user + space program receives a fatal signal and dumps core. + + http://www.freedesktop.org/software/systemd/man/systemd-coredump.html + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help
package/systemd/systemd.mk +7 -0
@@ -231,6 +231,12 @@ else SYSTEMD_CONF_OPTS += --disable-localed endif +ifeq ($(BR2_PACKAGE_SYSTEMD_COREDUMP),y) +SYSTEMD_CONF_OPTS += --enable-coredump +else +SYSTEMD_CONF_OPTS += --disable-coredump +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK
@@ -289,6 +295,7 @@ SYSTEMD_POST_INSTALL_TARGET_HOOKS += \ SYSTEMD_INSTALL_RESOLVCONF_HOOK define SYSTEMD_USERS + systemd-coredump -1 systemd-coredump -1 * /var/lib/systemd/coredump - - Core Dumper systemd-journal -1 systemd-journal -1 * /var/log/journal - - Journal systemd-journal-gateway -1 systemd-journal-gateway -1 * /var/log/journal - - Journal Gateway systemd-journal-remote -1 systemd-journal-remote -1 * /var/log/journal/remote - - Journal Remote
Signature · 1 line
2.8.1
PATCH 14/31 package/systemd: add optional support for polkit
In reply to Maxime HadjinlianFrom: Gabe Evans <[email protected]>
--- package/systemd/Config.in | 10 ++++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 16 insertions(+)
package/systemd/Config.in +10 -0
@@ -248,6 +248,16 @@ config BR2_PACKAGE_SYSTEMD_COREDUMP http://www.freedesktop.org/software/systemd/man/systemd-coredump.html +config BR2_PACKAGE_SYSTEMD_POLKIT + bool "enable polkit support" + select BR2_PACKAGE_POLKIT + help + If enabled, systemd is built with polkit support and policy files for its + services are generated and installed. It is useful for allowing unprivileged + processes to speak to systemd's many privileged processes. + + http://wiki.freedesktop.org/www/Software/polkit/ + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help
package/systemd/systemd.mk +6 -0
@@ -237,6 +237,12 @@ else SYSTEMD_CONF_OPTS += --disable-coredump endif +ifeq ($(BR2_PACKAGE_SYSTEMD_POLKIT),y) +SYSTEMD_CONF_OPTS += --enable-polkit +else +SYSTEMD_CONF_OPTS += --disable-polkit +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK
Signature · 1 line
2.8.1
PATCH 15/31 package/systemd: add optional support for hibernation
In reply to Maxime HadjinlianFrom: Gabe Evans <[email protected]>
--- package/systemd/Config.in | 10 +++++++++- package/systemd/systemd.mk | 6 ++++++ 2 files changed, 15 insertions(+), 1 deletion(-)
package/systemd/Config.in +9 -1
@@ -308,4 +308,12 @@ config BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT When this feature is enabled, Systemd mounts smackfs and manages security labels for sockets. -endif +config BR2_PACKAGE_SYSTEMD_HIBERNATE + bool "enable hibernation support" + help + When this features is enabled, additional tools and services are built to + support suspending and resuming the system. + + http://www.freedesktop.org/software/systemd/man/systemd-sleep.html + +endif # BR2_PACKAGE_SYSTEMD
package/systemd/systemd.mk +6 -0
@@ -277,6 +277,12 @@ else SYSTEMD_CONF_OPTS += --disable-smack endif +ifeq ($(BR2_PACKAGE_SYSTEMD_HIBERNATE),y) +SYSTEMD_CONF_OPTS += --enable-hibernate +else +SYSTEMD_CONF_OPTS += --disable-hibernate +endif + # mq_getattr needs -lrt SYSTEMD_MAKE_OPTS += LIBS=-lrt SYSTEMD_MAKE_OPTS += LDFLAGS+=-ldl
Signature · 1 line
2.8.1
PATCH 15/31 package/systemd: add optional support for hibernation
Hello,
Quoted 16 lines · Maxime Hadjinlian
From: Gabe Evans <[email protected]>
Signed-off-by Gabe Evans <[email protected]>--- package/systemd/Config.in | 10 +++++++++- package/systemd/systemd.mk | 6 ++++++ 2 files changed, 15 insertions(+), 1 deletion(-)package/systemd/Config.in +0
-0@@ -308,4 +308,12 @@ config BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT When this feature is enabled, Systemd mounts smackfs and manages security labels for sockets.
package/systemd/Config.in config BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT · line 319
Quoted 10 lines
package/systemd/Config.in +9
-1-endif +config BR2_PACKAGE_SYSTEMD_HIBERNATE + bool "enable hibernation support" + help + When this features is enabled, additional tools and services are built to + support suspending and resuming the system. + + http://www.freedesktop.org/software/systemd/man/systemd-sleep.html + +endif # BR2_PACKAGE_SYSTEMD
The addition of the comment here has nothing to do with the patch being done.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 16/31 package/systemd: use 'menuconfig'
In reply to Maxime HadjinlianFrom: Gabe Evans <[email protected]>
systemd has a bunch of options now, so use 'menuconfig' to the group the options in a submenu.
--- package/systemd/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/systemd/Config.in +1 -1
@@ -7,7 +7,7 @@ config BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS BR2_sh4a || BR2_sh4aeb || BR2_sparc || BR2_x86_64 || \ BR2_aarch64 || BR2_m68k -config BR2_PACKAGE_SYSTEMD +menuconfig BR2_PACKAGE_SYSTEMD bool "systemd" depends on BR2_INIT_SYSTEMD depends on BR2_USE_WCHAR # util-linux
Signature · 1 line
2.8.1
PATCH 17/31 package/systemd: only create 'systemd-journal' group
In reply to Maxime HadjinlianFrom: Gabe Evans <[email protected]>
systemd-journal is a group used for controlling user access to the journal when used with tools like journalctl.
While we're at it, sort the users list to improve readability.
--- package/systemd/systemd.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
package/systemd/systemd.mk +4 -4
@@ -307,16 +307,16 @@ SYSTEMD_POST_INSTALL_TARGET_HOOKS += \ SYSTEMD_INSTALL_RESOLVCONF_HOOK define SYSTEMD_USERS + - - input -1 * - - - Input device group + - - systemd-journal -1 * - - - Journal + systemd-bus-proxy -1 systemd-bus-proxy -1 * - - - Proxy D-Bus messages to/from a bus systemd-coredump -1 systemd-coredump -1 * /var/lib/systemd/coredump - - Core Dumper - systemd-journal -1 systemd-journal -1 * /var/log/journal - - Journal systemd-journal-gateway -1 systemd-journal-gateway -1 * /var/log/journal - - Journal Gateway systemd-journal-remote -1 systemd-journal-remote -1 * /var/log/journal/remote - - Journal Remote systemd-journal-upload -1 systemd-journal-upload -1 * - - - Journal Upload + systemd-network -1 systemd-network -1 * - - - Network Manager systemd-resolve -1 systemd-resolve -1 * - - - Network Name Resolution Manager - systemd-bus-proxy -1 systemd-bus-proxy -1 * - - - Proxy D-Bus messages to/from a bus systemd-timesync -1 systemd-timesync -1 * - - - Network Time Synchronization - systemd-network -1 systemd-network -1 * - - - Network Manager - - - input -1 * - - - Input device group endef define SYSTEMD_DISABLE_SERVICE_TTY1
Signature · 1 line
2.8.1
PATCH 18/31 package/systemd: remove unnecessary make opts
In reply to Maxime HadjinlianFrom: Gabe Evans <[email protected]>
These flags were originally needed to support uClibc in earlier releases.
--- package/systemd/systemd.mk | 4 ---- 1 file changed, 4 deletions(-)
package/systemd/systemd.mk +0 -4
@@ -283,10 +283,6 @@ else SYSTEMD_CONF_OPTS += --disable-hibernate endif -# mq_getattr needs -lrt -SYSTEMD_MAKE_OPTS += LIBS=-lrt -SYSTEMD_MAKE_OPTS += LDFLAGS+=-ldl - define SYSTEMD_INSTALL_INIT_HOOK ln -fs ../lib/systemd/systemd $(TARGET_DIR)/sbin/init ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/halt
Signature · 1 line
2.8.1
PATCH 19/31 package/systemd: Sort menuconfig alphabetically
In reply to Maxime Hadjinlian--- package/systemd/Config.in | 251 ++++++++++++++++++++++++---------------------- 1 file changed, 132 insertions(+), 119 deletions(-)
package/systemd/Config.in +132 -119
@@ -69,11 +69,6 @@ if BR2_PACKAGE_SYSTEMD config BR2_PACKAGE_PROVIDES_UDEV default "systemd" -config BR2_PACKAGE_SYSTEMD_KDBUS - bool "enable kdbus support" - help - Enable kdbus support for Systemd. - config BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY bool "HTTP server for journal events" select BR2_PACKAGE_LIBMICROHTTPD
@@ -84,16 +79,13 @@ config BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY http://www.freedesktop.org/software/systemd/man/systemd-journal-gatewayd.service.html -config BR2_PACKAGE_SYSTEMD_HWDB - bool "enable hwdb installation" - default y +config BR2_PACKAGE_SYSTEMD_BACKLIGHT + bool "enable backlight support" help - Enables hardware database installation to /usr/lib/udev/hwdb.d - - Disabling this option improves first boot time (or every boot - time in case of initramfs images) and saves several MB space. + systemd-backlight is a service that restores the display backlight + brightness at early boot and saves it at shutdown. - https://www.freedesktop.org/software/systemd/man/hwdb.html + http://www.freedesktop.org/software/systemd/man/systemd-backlight at .service.html config BR2_PACKAGE_SYSTEMD_BINFMT bool "enable binfmt tool"
@@ -103,14 +95,6 @@ config BR2_PACKAGE_SYSTEMD_BINFMT http://www.freedesktop.org/software/systemd/man/systemd-binfmt.service.html -config BR2_PACKAGE_SYSTEMD_VCONSOLE - bool "enable vconsole tool" - help - systemd-vconsole-setup is an early boot service that - configures the virtual console font and console keymap. - - http://www.freedesktop.org/software/systemd/man/systemd-vconsole-setup.service.html - config BR2_PACKAGE_SYSTEMD_BOOTCHART bool "enable bootchart tool" help
@@ -121,33 +105,26 @@ config BR2_PACKAGE_SYSTEMD_BOOTCHART http://www.freedesktop.org/software/systemd/man/systemd-bootchart.html -config BR2_PACKAGE_SYSTEMD_QUOTACHECK - bool "enable quotacheck tools" +config BR2_PACKAGE_SYSTEMD_COREDUMP + bool "enable coredump hook" help - systemd-quotacheck is a service responsible for file system - quota checks. It is run once at boot after all necessary - file systems are mounted. It is pulled in only if at least - one file system has quotas enabled. + systemd-coredump can be used as a helper binary by the kernel when a user + space program receives a fatal signal and dumps core. - http://www.freedesktop.org/software/systemd/man/systemd-quotacheck.service.html + http://www.freedesktop.org/software/systemd/man/systemd-coredump.html -config BR2_PACKAGE_SYSTEMD_TMPFILES - bool "enable tmpfiles support" - default y +config BR2_PACKAGE_SYSTEMD_COMPAT + bool "enable compatibility libraries" help - systemd-tmpfiles creates, deletes, and cleans up volatile and temporary - files and directories, based on the configuration file format and location - specified in tmpfiles.d(5). - - http://www.freedesktop.org/software/systemd/man/systemd-tmpfiles.html + Since systemd 209, the following libraries have been merged into + libsystemd.so: -config BR2_PACKAGE_SYSTEMD_SYSUSERS - bool "enable sysusers support" - help - systemd-sysusers creates system users and groups, based on the file format - and location specified in sysusers.d(5). + - libsystemd-daemon + - libsystemd-id128 + - libsystemd-journal + - libsystemd-login - http://www.freedesktop.org/software/systemd/man/systemd-sysusers.html + This option enables the installation of compatibility *.pc files. config BR2_PACKAGE_SYSTEMD_FIRSTBOOT bool "enable firstboot support"
@@ -158,45 +135,33 @@ config BR2_PACKAGE_SYSTEMD_FIRSTBOOT http://www.freedesktop.org/software/systemd/man/systemd-firstboot.html -config BR2_PACKAGE_SYSTEMD_RANDOMSEED - bool "enable random-seed support" - help - systemd-random-seed is a service that restores the random seed of the system - at early boot and saves it at shutdown. Saving/restoring the random seed - across boots increases the amount of available entropy early at boot. - - http://www.freedesktop.org/software/systemd/man/systemd-random-seed.service.html - -config BR2_PACKAGE_SYSTEMD_BACKLIGHT - bool "enable backlight support" - help - systemd-backlight is a service that restores the display backlight - brightness at early boot and saves it at shutdown. - - http://www.freedesktop.org/software/systemd/man/systemd-backlight at .service.html - -config BR2_PACKAGE_SYSTEMD_RFKILL - bool "enable rfkill tools" +config BR2_PACKAGE_SYSTEMD_HIBERNATE + bool "enable hibernation support" help - systemd-rfkill is a service that restores the RF kill switch state at early - boot and saves it at shutdown. + When this features is enabled, additional tools and services are built to + support suspending and resuming the system. - http://www.freedesktop.org/software/systemd/man/systemd-rfkill at .service.html + http://www.freedesktop.org/software/systemd/man/systemd-sleep.html -config BR2_PACKAGE_SYSTEMD_LOGIND - bool "enable login daemon" +config BR2_PACKAGE_SYSTEMD_HOSTNAMED + bool "enable hostname daemon" + default y help - systemd-logind is a system service that manages user logins. + systemd-hostnamed is a system service that may be used as a mechanism to + change the system's hostname. - http://www.freedesktop.org/software/systemd/man/systemd-logind.service.html + http://www.freedesktop.org/software/systemd/man/systemd-hostnamed.service.html -config BR2_PACKAGE_SYSTEMD_MACHINED - bool "enable machine daemon" +config BR2_PACKAGE_SYSTEMD_HWDB + bool "enable HWDB (hardware database support)" help - systemd-machined is a system service that keeps track of virtual machines - and containers, and processes belonging to them. + The hardware database is a key-value store for associating modalias-like + keys to udev-property-like values. It is used primarily by udev to add the + relevant properties to matching devices, but it can also be + queried directly. - http://www.freedesktop.org/software/systemd/man/systemd-machined.service.html + http://www.freedesktop.org/software/systemd/man/systemd-hwdb.html + http://www.freedesktop.org/software/systemd/man/hwdb.html config BR2_PACKAGE_SYSTEMD_IMPORTD bool "enable import daemon"
@@ -212,24 +177,10 @@ config BR2_PACKAGE_SYSTEMD_IMPORTD http://www.freedesktop.org/software/systemd/man/machinectl.html#Image%20Transfer%20Commands -config BR2_PACKAGE_SYSTEMD_HOSTNAMED - bool "enable hostname daemon" - default y - help - systemd-hostnamed is a system service that may be used as a mechanism to - change the system's hostname. - - http://www.freedesktop.org/software/systemd/man/systemd-hostnamed.service.html - -config BR2_PACKAGE_SYSTEMD_TIMEDATED - bool "enable timedate daemon" - default y +config BR2_PACKAGE_SYSTEMD_KDBUS + bool "enable kdbus support" help - systemd-timedated is a system service that may be used as a mechanism to - change the system clock and timezone, as well as to enable/disable NTP - time synchronization. - - http://www.freedesktop.org/software/systemd/man/systemd-timedated.service.html + Enable kdbus support for Systemd. config BR2_PACKAGE_SYSTEMD_LOCALED bool "enable locale daemon"
@@ -240,23 +191,20 @@ config BR2_PACKAGE_SYSTEMD_LOCALED http://www.freedesktop.org/software/systemd/man/systemd-localed.service.html -config BR2_PACKAGE_SYSTEMD_COREDUMP - bool "enable coredump hook" +config BR2_PACKAGE_SYSTEMD_LOGIND + bool "enable login daemon" help - systemd-coredump can be used as a helper binary by the kernel when a user - space program receives a fatal signal and dumps core. + systemd-logind is a system service that manages user logins. - http://www.freedesktop.org/software/systemd/man/systemd-coredump.html + http://www.freedesktop.org/software/systemd/man/systemd-logind.service.html -config BR2_PACKAGE_SYSTEMD_POLKIT - bool "enable polkit support" - select BR2_PACKAGE_POLKIT +config BR2_PACKAGE_SYSTEMD_MACHINED + bool "enable machine daemon" help - If enabled, systemd is built with polkit support and policy files for its - services are generated and installed. It is useful for allowing unprivileged - processes to speak to systemd's many privileged processes. + systemd-machined is a system service that keeps track of virtual machines + and containers, and processes belonging to them. - http://wiki.freedesktop.org/www/Software/polkit/ + http://www.freedesktop.org/software/systemd/man/systemd-machined.service.html config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager"
@@ -270,8 +218,77 @@ config BR2_PACKAGE_SYSTEMD_NETWORKD http://www.freedesktop.org/software/systemd/man/systemd-networkd.html +config BR2_PACKAGE_SYSTEMD_POLKIT + bool "enable polkit support" + select BR2_PACKAGE_POLKIT + help + If enabled, systemd is built with polkit support and policy files for its + services are generated and installed. It is useful for allowing unprivileged + processes to speak to systemd's many privileged processes. + + http://wiki.freedesktop.org/www/Software/polkit/ + +config BR2_PACKAGE_SYSTEMD_QUOTACHECK + bool "enable quotacheck tools" + help + systemd-quotacheck is a service responsible for file system + quota checks. It is run once at boot after all necessary + file systems are mounted. It is pulled in only if at least + one file system has quotas enabled. + + http://www.freedesktop.org/software/systemd/man/systemd-quotacheck.service.html + +config BR2_PACKAGE_SYSTEMD_RANDOMSEED + bool "enable random-seed support" + help + systemd-random-seed is a service that restores the random seed of the system + at early boot and saves it at shutdown. Saving/restoring the random seed + across boots increases the amount of available entropy early at boot. + + http://www.freedesktop.org/software/systemd/man/systemd-random-seed.service.html + +config BR2_PACKAGE_SYSTEMD_RFKILL + bool "enable rfkill tools" + help + systemd-rfkill is a service that restores the RF kill switch state at early + boot and saves it at shutdown. + + http://www.freedesktop.org/software/systemd/man/systemd-rfkill at .service.html + +config BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT + bool "enable SMACK support" + select BR2_PACKAGE_ATTR + select BR2_PACKAGE_SMACK + help + Enable support for SMACK, the Simple Mandatory Access Control + Kernel, a minimal approach to Access Control implemented as a kernel + LSM. + + This feature requires a kernel >= 3.8. + + When this feature is enabled, Systemd mounts smackfs and manages + security labels for sockets. + +config BR2_PACKAGE_SYSTEMD_SYSUSERS + bool "enable sysusers support" + help + systemd-sysusers creates system users and groups, based on the file format + and location specified in sysusers.d(5). + + http://www.freedesktop.org/software/systemd/man/systemd-sysusers.html + +config BR2_PACKAGE_SYSTEMD_TIMEDATED + bool "enable timedate daemon" + default y + help + systemd-timedated is a system service that may be used as a mechanism to + change the system clock and timezone, as well as to enable/disable NTP + time synchronization. + + http://www.freedesktop.org/software/systemd/man/systemd-timedated.service.html + config BR2_PACKAGE_SYSTEMD_TIMESYNCD - bool "enable SNTP client" + bool "enable timesync daemon" help systemd-timesyncd is a service that may be used to synchronize the local system clock with a Network Time Protocol server.
@@ -294,26 +311,22 @@ config BR2_PACKAGE_SYSTEMD_COMPAT This option enables the installation of compatibility *.pc files. -config BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT - bool "enable SMACK support" - select BR2_PACKAGE_ATTR - select BR2_PACKAGE_SMACK +config BR2_PACKAGE_SYSTEMD_TMPFILES + default y + bool "enable tmpfiles support" help - Enable support for SMACK, the Simple Mandatory Access Control - Kernel, a minimal approach to Access Control implemented as a kernel - LSM. - - This feature requires a kernel >= 3.8. + systemd-tmpfiles creates, deletes, and cleans up volatile and temporary + files and directories, based on the configuration file format and location + specified in tmpfiles.d(5). - When this feature is enabled, Systemd mounts smackfs and manages - security labels for sockets. + http://www.freedesktop.org/software/systemd/man/systemd-tmpfiles.html -config BR2_PACKAGE_SYSTEMD_HIBERNATE - bool "enable hibernation support" +config BR2_PACKAGE_SYSTEMD_VCONSOLE + bool "enable vconsole tool" help - When this features is enabled, additional tools and services are built to - support suspending and resuming the system. + systemd-vconsole-setup is an early boot service that + configures the virtual console font and console keymap. - http://www.freedesktop.org/software/systemd/man/systemd-sleep.html + http://www.freedesktop.org/software/systemd/man/systemd-vconsole-setup.service.html endif # BR2_PACKAGE_SYSTEMD
Signature · 1 line
2.8.1
PATCH 20/31 package/systemd: add optional support for audit
In reply to Maxime Hadjinlian--- package/systemd/systemd.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/systemd/systemd.mk +7 -0
@@ -64,6 +64,13 @@ else SYSTEMD_CONF_OPTS += --disable-acl endif +ifeq ($(BR2_PACKAGE_AUDIT),y) +SYSTEMD_CONF_OPTS += --enable-audit +SYSTEMD_DEPENDENCIES += audit +else +SYSTEMD_CONF_OPTS += --disable-audit +endif + ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) SYSTEMD_CONF_OPTS += --enable-seccomp SYSTEMD_DEPENDENCIES += libseccomp
Signature · 1 line
2.8.1
PATCH 21/31 package/systemd: Disable the test coverage
In reply to Maxime Hadjinlian--- package/systemd/systemd.mk | 1 + 1 file changed, 1 insertion(+)
package/systemd/systemd.mk +1 -0
@@ -36,6 +36,7 @@ SYSTEMD_CONF_OPTS += \ --disable-gnuefi \ --disable-ldconfig \ --disable-tests \ + --disable-coverage \ --with-default-dnssec=no \ --without-python
Signature · 1 line
2.8.1
PATCH 22/31 package/systemd: Disable IMA support
In reply to Maxime Hadjinlian--- package/systemd/systemd.mk | 1 + 1 file changed, 1 insertion(+)
package/systemd/systemd.mk +1 -0
@@ -31,6 +31,7 @@ SYSTEMD_CONF_OPTS += \ --disable-manpages \ --disable-selinux \ --disable-pam \ + --disable-ima \ --disable-libcryptsetup \ --disable-efi \ --disable-gnuefi \
Signature · 1 line
2.8.1
PATCH 23/31 package/systemd: add optional support for libidn
In reply to Maxime Hadjinlian--- package/systemd/systemd.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/systemd/systemd.mk +7 -0
@@ -73,6 +73,13 @@ else SYSTEMD_CONF_OPTS += --disable-audit endif +ifeq ($(BR2_PACKAGE_LIBIDN),y) +SYSTEMD_CONF_OPTS += --enable-libidn +SYSTEMD_DEPENDENCIES += libidn +else +SYSTEMD_CONF_OPTS += --disable-libidn +endif + ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) SYSTEMD_CONF_OPTS += --enable-seccomp SYSTEMD_DEPENDENCIES += libseccomp
Signature · 1 line
2.8.1
PATCH 24/31 package/systemd: add optional support for qrencode
In reply to Maxime HadjinlianThe support of qrencode depends of the journal gateway feature as it is used to display the key used to seal the journal.
--- package/systemd/systemd.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/systemd/systemd.mk +7 -1
@@ -141,8 +141,14 @@ endif ifeq ($(BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY),y) SYSTEMD_DEPENDENCIES += libmicrohttpd SYSTEMD_CONF_OPTS += --enable-microhttpd +ifeq ($(BR2_PACKAGE_LIBQRENCODE),y) +SYSTEMD_CONF_OPTS += --enable-qrencode +SYSTEMD_DEPENDENCIES += libqrencode else -SYSTEMD_CONF_OPTS += --disable-microhttpd +SYSTEMD_CONF_OPTS += --disable-qrencode +endif +else +SYSTEMD_CONF_OPTS += --disable-microhttpd --disable-qrencode endif ifeq ($(BR2_PACKAGE_SYSTEMD_HWDB),y)
Signature · 1 line
2.8.1
PATCH 25/31 package/systemd: Add optional support for myhostname
In reply to Maxime Hadjinlian--- package/systemd/Config.in | 11 +++++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 17 insertions(+)
package/systemd/Config.in +11 -0
@@ -206,6 +206,17 @@ config BR2_PACKAGE_SYSTEMD_MACHINED http://www.freedesktop.org/software/systemd/man/systemd-machined.service.html +config BR2_PACKAGE_SYSTEMD_MYHOSTNAME + bool "enable myhostname NSS plugin" + default y + help + nss-myhostname is a plug-in module for the GNU Name Service Switch (NSS) + functionality of the GNU C Library (glibc), primarily providing hostname + resolution for the locally configured system hostname as returned by + gethostname(2). + + http://www.freedesktop.org/software/systemd/man/nss-myhostname.html + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help
package/systemd/systemd.mk +6 -0
@@ -229,6 +229,12 @@ else SYSTEMD_CONF_OPTS += --disable-machined endif +ifeq ($(BR2_PACKAGE_SYSTEMD_MYHOSTNAME),y) +SYSTEMD_CONF_OPTS += --enable-myhostname +else +SYSTEMD_CONF_OPTS += --disable-myhostname +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_IMPORTD),y) SYSTEMD_CONF_OPTS += --enable-importd else
Signature · 1 line
2.8.1
PATCH 26/31 package/systemd: Add optional support for resolved
In reply to Maxime Hadjinlian--- package/systemd/Config.in | 10 ++++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 16 insertions(+)
package/systemd/Config.in +10 -0
@@ -258,6 +258,16 @@ config BR2_PACKAGE_SYSTEMD_RANDOMSEED http://www.freedesktop.org/software/systemd/man/systemd-random-seed.service.html +config BR2_PACKAGE_SYSTEMD_RESOLVED + bool "enable resolve daemon" + default y + help + systemd-resolved is a system service that provides network name + resolution to local applications. It implements a caching and validating + DNS/DNSSEC stub resolver, as well as an LLMNR resolver and responder. + + http://www.freedesktop.org/software/systemd/man/systemd-resolved.html + config BR2_PACKAGE_SYSTEMD_RFKILL bool "enable rfkill tools" help
package/systemd/systemd.mk +6 -0
@@ -247,6 +247,12 @@ else SYSTEMD_CONF_OPTS += --disable-hostnamed endif +ifeq ($(BR2_PACKAGE_SYSTEMD_RESOLVED),y) +SYSTEMD_CONF_OPTS += --enable-resolved +else +SYSTEMD_CONF_OPTS += --disable-resolved +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_TIMEDATED),y) SYSTEMD_CONF_OPTS += --enable-timedated else
Signature · 1 line
2.8.1
PATCH 27/31 package/systemd: Add optional libxkbcommon support
In reply to Maxime Hadjinlian--- package/systemd/systemd.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/systemd/systemd.mk +7 -0
@@ -87,6 +87,13 @@ else SYSTEMD_CONF_OPTS += --disable-seccomp endif +ifeq ($(BR2_PACKAGE_LIBXKBCOMMON),y) +SYSTEMD_CONF_OPTS += --enable-xkbcommon +SYSTEMD_DEPENDENCIES += libxkbcommon +else +SYSTEMD_CONF_OPTS += --disable-xkbcommon +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_KDBUS),y) SYSTEMD_CONF_OPTS += --enable-kdbus else
Signature · 1 line
2.8.1
PATCH 28/31 package/systemd: Force enable blkid
In reply to Maxime HadjinlianSince systemd select BR2_PACKAGE_UTIL_LINUX_LIBBLKID, we can safely force this option.
--- package/systemd/systemd.mk | 1 + 1 file changed, 1 insertion(+)
package/systemd/systemd.mk +1 -0
@@ -27,6 +27,7 @@ endif SYSTEMD_CONF_OPTS += \ --with-rootprefix= \ + --enable-blkid \ --enable-static=no \ --disable-manpages \ --disable-selinux \
Signature · 1 line
2.8.1
PATCH 29/31 package/systemd: Create user only when needed
In reply to Maxime HadjinlianWe don't want to create a bunch of group and users that might not be used, it's more elegant to create them when the associated features is selected.
--- package/systemd/systemd.mk | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
package/systemd/systemd.mk +8 -4
@@ -257,6 +257,7 @@ endif ifeq ($(BR2_PACKAGE_SYSTEMD_RESOLVED),y) SYSTEMD_CONF_OPTS += --enable-resolved +SYSTEMD_RESOLVED_USER = systemd-resolve -1 systemd-resolve -1 * - - - Network Name Resolution Manager else SYSTEMD_CONF_OPTS += --disable-resolved endif
@@ -275,6 +276,7 @@ endif ifeq ($(BR2_PACKAGE_SYSTEMD_COREDUMP),y) SYSTEMD_CONF_OPTS += --enable-coredump +SYSTEMD_COREDUMP_USER = systemd-coredump -1 systemd-coredump -1 * /var/lib/systemd/coredump - - Core Dumper else SYSTEMD_CONF_OPTS += --disable-coredump endif
@@ -287,6 +289,7 @@ endif ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd +SYSTEMD_NETWORKD_USER = systemd-network -1 systemd-network -1 * - - - Network Manager define SYSTEMD_INSTALL_RESOLVCONF_HOOK ln -sf ../run/systemd/resolve/resolv.conf \ $(TARGET_DIR)/etc/resolv.conf
@@ -304,6 +307,7 @@ endif ifeq ($(BR2_PACKAGE_SYSTEMD_TIMESYNCD),y) SYSTEMD_CONF_OPTS += --enable-timesyncd +SYSTEMD_TIMESYNCD_USER = systemd-timesync -1 systemd-timesync -1 * - - - Network Time Synchronization define SYSTEMD_INSTALL_SERVICE_TIMESYNC mkdir -p $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants ln -sf ../../../../lib/systemd/system/systemd-timesyncd.service \
@@ -348,13 +352,13 @@ define SYSTEMD_USERS - - input -1 * - - - Input device group - - systemd-journal -1 * - - - Journal systemd-bus-proxy -1 systemd-bus-proxy -1 * - - - Proxy D-Bus messages to/from a bus - systemd-coredump -1 systemd-coredump -1 * /var/lib/systemd/coredump - - Core Dumper systemd-journal-gateway -1 systemd-journal-gateway -1 * /var/log/journal - - Journal Gateway systemd-journal-remote -1 systemd-journal-remote -1 * /var/log/journal/remote - - Journal Remote systemd-journal-upload -1 systemd-journal-upload -1 * - - - Journal Upload - systemd-network -1 systemd-network -1 * - - - Network Manager - systemd-resolve -1 systemd-resolve -1 * - - - Network Name Resolution Manager - systemd-timesync -1 systemd-timesync -1 * - - - Network Time Synchronization + $(SYSTEMD_COREDUMP_USER) + $(SYSTEMD_NETWORKD_USER) + $(SYSTEMD_RESOLVED_USER) + $(SYSTEMD_TIMESYNCD_USER) endef define SYSTEMD_DISABLE_SERVICE_TTY1
Signature · 1 line
2.8.1
PATCH 30/31 package/systemd: Default yes for timesyncd
In reply to Maxime HadjinlianIt seems logical to enable a few options along with systemd when it's the init system.
--- package/systemd/Config.in | 1 + 1 file changed, 1 insertion(+)
package/systemd/Config.in +1 -0
@@ -310,6 +310,7 @@ config BR2_PACKAGE_SYSTEMD_TIMEDATED config BR2_PACKAGE_SYSTEMD_TIMESYNCD bool "enable timesync daemon" + default y help systemd-timesyncd is a service that may be used to synchronize the local system clock with a Network Time Protocol server.
Signature · 1 line
2.8.1
PATCH 31/31 package/systemd: Default yes for networkd
In reply to Maxime HadjinlianIt seems logical to enable a few options along with systemd when it's the init system.
--- package/systemd/Config.in | 1 + 1 file changed, 1 insertion(+)
package/systemd/Config.in +1 -0
@@ -219,6 +219,7 @@ config BR2_PACKAGE_SYSTEMD_MYHOSTNAME config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" + default y help systemd-networkd is a system service that manages networks. It detects and configures network devices as they appear, as well as
Signature · 1 line
2.8.1
Thomas Petazzoni
AppliedPATCH 1/31 package/systemd: add optional support for tmpfiles
In reply to Maxime HadjinlianHello,
Quoted 5 lines · Maxime Hadjinlian
From: Gabe Evans <[email protected]>
Signed-off-by Gabe Evans <[email protected]>[Maxime: Add default y]Signed-off-by Maxime Hadjinlian <[email protected]>
I've applied patches 1-18, but for many of them, I had to rewrap the Config.in help text as several of them had too long lines.
Due to this, patch 19 (which re-orders the Config.in options) did not apply, with lots of conflicts.
I nonetheless managed to apply patches 20, 21, 22, 23 and 24, as well as 27 and 28. So you have 19, 25, 26, 29, 30 and 31 that remain to be applied. I've kept them in the "New" state on patchwork so that you can easily identify what remains to be applied.
Also, could you integrate your bootchard changes in the same series, in order to avoid conflicts?
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com