[Buildroot] [PATCH 09/31] package/systemd: add optional support for importd

Maxime Hadjinlian maxime.hadjinlian at gmail.com
Fri Jul 1 21:51:09 UTC 2016


From: Gabe Evans <gabe at hashrabbit.co>

Signed-off-by: Gabe Evans <gabe at hashrabbit.co>
---
 package/systemd/Config.in  | 14 ++++++++++++++
 package/systemd/systemd.mk |  6 ++++++
 2 files changed, 20 insertions(+)

diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index 8a1c312..17f62a4 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -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
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 44a22a9..8bcbcf8 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -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
-- 
2.8.1



More information about the buildroot mailing list