From patchwork Thu Nov 26 15:28:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Norbert Lange X-Patchwork-Id: 1406736 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=MrEpC6aD; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4ChhVM1PCpz9sRK for ; Fri, 27 Nov 2020 02:28:24 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8049E878DE; Thu, 26 Nov 2020 15:28:22 +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 J3U77gQGT6rT; Thu, 26 Nov 2020 15:28:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 6483B878DC; Thu, 26 Nov 2020 15:28:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 55C381BF489 for ; Thu, 26 Nov 2020 15:28:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 4980620415 for ; Thu, 26 Nov 2020 15:28:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rii0sQL2N3s4 for ; Thu, 26 Nov 2020 15:28:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by silver.osuosl.org (Postfix) with ESMTPS id 11978203ED for ; Thu, 26 Nov 2020 15:28:18 +0000 (UTC) Received: by mail-wr1-f41.google.com with SMTP id e7so2550166wrv.6 for ; Thu, 26 Nov 2020 07:28:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0bfBH0G6fnCFddMksNhwhthIolZiBT8o/L2htj045BA=; b=MrEpC6aDt09fEyfea8j7//i1cMElaWwZL37/ynEymmLq5xGy+BloYDlOLL9r4TDwIG T+CEceGeZnqgp0LuAQ/PjuVJrlNP0zhTa5J6TKcKNURH6eUGkSwwQvb3BNiSjsH2jOU5 91sPLY+pwERsPWG4l4NV1wYu8du6p6pzozUSjU1Fg0dS1nVsvg7D0g5OA62GB9pwYe7J WetcPDuIQ6QBCO5GoOkluSIqWBvnrc4w/t0f46N+fgSV0juztgkYnOnsjL9oUU0jR7kH F1cc4sqvZnW7rMZiSPCJuRyVpwtruuwXppn7t6xE8d6hXbE/jwXvJ2YoRbu3JsoL3aay axeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0bfBH0G6fnCFddMksNhwhthIolZiBT8o/L2htj045BA=; b=jfssJv6IEHxA/c7UxtY6ypAAvN+6mc8mqgGr0/k8DbLX3zqRMx7iU5aMqlTMcsCzq2 NIrO5G1C8fEvnnHG+RoZ3iQ/eJhloObGXARdJPlXTPmvI2W4MXRUOVYiGFtDxBV7tP3G 87F5ZnwjMKdgD7w1msubq1VZQ+QcEVaLuq9EpGcsErmA4diz5l5PKgWYnOR2cQ44xeCS 2OmKd6zddtgp9/M8EQ9SEVhaj6FtOXh34kseD6idHKuTlZomHRl/ZC69qB1vBwh1hnMz 3NJRHhCIEBioYRVe2jcX2waykv1JPQUUSKT/LYYD6ZnqB890W8n8lYYdC8xx+CwIgYF+ itYg== X-Gm-Message-State: AOAM531fPfqXbVhQsWbDAVlQeaxLgyYOVw0IT9BRPbtCMdayObsqE+Py nYEzC4/fgGvQ23oiwZ/2/WeZlJyfXKU= X-Google-Smtp-Source: ABdhPJx3WjkdXBoAmDycBEz4nHgo8faycp0kvFQOEycpmz9zQLmI7OUrl+dm5hnoqBiaRAAmX+hkBw== X-Received: by 2002:adf:f0c2:: with SMTP id x2mr4411432wro.184.1606404496189; Thu, 26 Nov 2020 07:28:16 -0800 (PST) Received: from localhost.localdomain (84-114-45-16.cable.dynamic.surfer.at. [84.114.45.16]) by smtp.gmail.com with ESMTPSA id o2sm9377339wrv.4.2020.11.26.07.28.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 07:28:15 -0800 (PST) From: Norbert Lange To: buildroot@buildroot.org Date: Thu, 26 Nov 2020 16:28:04 +0100 Message-Id: <20201126152805.1102228-1-nolange79@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/systemd: always enable systemd-tmpfilesd X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Norbert Lange , "Yann E. MORIN" , Maxime Hadjinlian Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" this tool and service is pretty much expected to be enabled, making this a certainty will enable future improvements. remove the related BR2_PACKAGE_SYSTEMD Config option tree-wide. Signed-off-by: Norbert Lange --- package/dhcp/Config.in | 1 - package/systemd/Config.in | 11 ----------- package/systemd/systemd.mk | 7 +------ 3 files changed, 1 insertion(+), 18 deletions(-) diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in index e6e70908dd..515040c612 100644 --- a/package/dhcp/Config.in +++ b/package/dhcp/Config.in @@ -13,7 +13,6 @@ if BR2_PACKAGE_DHCP config BR2_PACKAGE_DHCP_SERVER bool "dhcp server" - select BR2_PACKAGE_SYSTEMD_TMPFILES if BR2_PACKAGE_SYSTEMD help DHCP server from the ISC DHCP distribution. diff --git a/package/systemd/Config.in b/package/systemd/Config.in index d576e6035b..2c89538987 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -451,17 +451,6 @@ config BR2_PACKAGE_SYSTEMD_TIMESYNCD http://www.freedesktop.org/software/systemd/man/systemd-timesyncd.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_USERDB bool "enable userdb daemon" help diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 629f4022d7..2f1d898e0d 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -47,6 +47,7 @@ SYSTEMD_CONF_OPTS += \ -Dsysvrcnd-path= \ -Dtelinit-path= \ -Dtests=false \ + -Dtmpfiles=true \ -Dumount-path=/usr/bin/umount \ -Dutmp=false @@ -299,12 +300,6 @@ else SYSTEMD_CONF_OPTS += -Dquotacheck=false endif -ifeq ($(BR2_PACKAGE_SYSTEMD_TMPFILES),y) -SYSTEMD_CONF_OPTS += -Dtmpfiles=true -else -SYSTEMD_CONF_OPTS += -Dtmpfiles=false -endif - ifeq ($(BR2_PACKAGE_SYSTEMD_SYSUSERS),y) SYSTEMD_CONF_OPTS += -Dsysusers=true else