From 868de4fc4c885dab23a658690e25b7eeef8605f5 Mon Sep 17 00:00:00 2001 From: Gabe Evans Date: Fri, 1 Jul 2016 23:51:01 +0200 Subject: [PATCH] package/systemd: add optional support for tmpfiles Signed-off-by: Gabe Evans [Maxime: Add default y] Signed-off-by: Maxime Hadjinlian Signed-off-by: Thomas Petazzoni --- package/systemd/Config.in | 11 +++++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 17 insertions(+) diff --git a/package/systemd/Config.in b/package/systemd/Config.in index 324e884489..df1a428940 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -131,6 +131,17 @@ 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 diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index c0503ae921..779d7c51e1 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -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 -- 2.30.2