package/systemd: add optional support for machined
authorGabe Evans <gabe@hashrabbit.co>
Fri, 1 Jul 2016 21:51:08 +0000 (23:51 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 2 Jul 2016 10:37:28 +0000 (12:37 +0200)
Signed-off-by: Gabe Evans <gabe@hashrabbit.co>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/systemd/Config.in
package/systemd/systemd.mk

index c2499e6713376644ea24d261139cb5dc95129078..d9f31b66c92098a1a3ce746085cac283f3c2a670 100644 (file)
@@ -192,6 +192,15 @@ 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
index 93b56fc3425fde515cc2db10d209c3eb4562cc75..44a22a930735a6a52a40148c1981c80e1944fc73 100644 (file)
@@ -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