From patchwork Thu Feb 25 21:55:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabe Evans X-Patchwork-Id: 588401 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id EB3D1140556 for ; Fri, 26 Feb 2016 08:57:49 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=hashrabbit.co header.i=@hashrabbit.co header.b=vTFe4REN; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B427C95B01; Thu, 25 Feb 2016 21:57:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5tLAvAWbIaTk; Thu, 25 Feb 2016 21:57:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 2687D95D67; Thu, 25 Feb 2016 21:57:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 093AC1C2E64 for ; Thu, 25 Feb 2016 21:57:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0741989025 for ; Thu, 25 Feb 2016 21:57:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ie53Pdnk6SEW for ; Thu, 25 Feb 2016 21:57:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f176.google.com (mail-pf0-f176.google.com [209.85.192.176]) by fraxinus.osuosl.org (Postfix) with ESMTPS id A39C788FC6 for ; Thu, 25 Feb 2016 21:57:10 +0000 (UTC) Received: by mail-pf0-f176.google.com with SMTP id c10so40974439pfc.2 for ; Thu, 25 Feb 2016 13:57:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hashrabbit.co; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gqdolBsTgWfP+64tEo6mnxpWM7sdaYOx4KlzEgcE3HM=; b=vTFe4RENNe0pBzokGNz/D7UP57OpYlJyENJ/6yioVU3ec6QsTt8OjcvVDCrRrC1xkY PoTMoDPzIQimARdfKONmwQCvhC10rmiJNhIlJMhv8VdNSgPbV0tvYN4ULctRCZng3fYR qQE9WtJ0A/5Mg6wglKxLjyyir0WQFq3fylwtw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gqdolBsTgWfP+64tEo6mnxpWM7sdaYOx4KlzEgcE3HM=; b=O+ifZ3kxjvbuiJH6EsNWwTKuh3wUTwHeoFpkKPgZ6J2bHF3MpsMNz1dGeLVwdGzsvq HwZSL8t6ZtOncqwlZRm9zEPOkCNQvDZkPyZpJ7QxEzKxvB8/D2fGisdUvqv3YpQTfElz jxvDZ9qkQCRGH2BPbZDiQ7btOGJo0ueCjQkew2JoaCHFPXIXS7BTC5Ui+Q4vXyUHqWgQ fguoYfIjU21jCyxSOs0XX57Z/miR8ujRsraCto0wBeX2vmxebpft5Oe6X8Uyer/FCGXc wlht1cPTbIKB7VQHA25KPe2iaOe86CHHTVA3cv2haFCp7kwxRK9KBmJf4x2uMPSSSmPT b0CQ== X-Gm-Message-State: AG10YOTrhclVLN+o35oMung5CM55/yMRfXoFCK//7zHpbDj9l7mBC5MGVYd1j5+sCsVK8g== X-Received: by 10.98.40.200 with SMTP id o191mr66514751pfo.83.1456437430455; Thu, 25 Feb 2016 13:57:10 -0800 (PST) Received: from lab.us-west-1.compute.internal (ec2-54-183-105-171.us-west-1.compute.amazonaws.com. [54.183.105.171]) by smtp.gmail.com with ESMTPSA id r77sm14342649pfa.47.2016.02.25.13.57.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Feb 2016 13:57:10 -0800 (PST) From: Gabe Evans To: buildroot@buildroot.org Date: Thu, 25 Feb 2016 21:55:23 +0000 Message-Id: <1456437341-19025-15-git-send-email-gabe@hashrabbit.co> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1456437341-19025-1-git-send-email-gabe@hashrabbit.co> References: <1456437341-19025-1-git-send-email-gabe@hashrabbit.co> Subject: [Buildroot] [PATCH 14/32] package/systemd: add optional support for tmpfiles X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Gabe Evans --- package/systemd/Config.in | 9 +++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/package/systemd/Config.in b/package/systemd/Config.in index 2ebd825..2f89b0e 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -118,6 +118,15 @@ 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" + 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 14c180a..aebdbbc 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -151,6 +151,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