From 6c3b23f441954c4b51e8d97ccd461154a0265fed Mon Sep 17 00:00:00 2001 From: Gabe Evans Date: Fri, 1 Jul 2016 23:51:09 +0200 Subject: [PATCH] package/systemd: add optional support for importd Signed-off-by: Gabe Evans Signed-off-by: Maxime Hadjinlian Signed-off-by: Thomas Petazzoni --- package/systemd/Config.in | 15 +++++++++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 21 insertions(+) diff --git a/package/systemd/Config.in b/package/systemd/Config.in index d9f31b66c9..d8e6eba149 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -201,6 +201,21 @@ 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 44a22a9307..8bcbcf8719 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.30.2