From patchwork Thu Feb 25 21:55:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabe Evans X-Patchwork-Id: 588406 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 9982914076E for ; Fri, 26 Feb 2016 08:58:00 +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=hcSXYmx7; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5793A95DC5; Thu, 25 Feb 2016 21:57:51 +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 Hp-G8NxzgHlx; Thu, 25 Feb 2016 21:57:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id A939295DCA; Thu, 25 Feb 2016 21:57:50 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 066D61C2E64 for ; Thu, 25 Feb 2016 21:57:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 02AA895D3B for ; Thu, 25 Feb 2016 21:57:18 +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 Mccw7MP85Roa for ; Thu, 25 Feb 2016 21:57:12 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by hemlock.osuosl.org (Postfix) with ESMTPS id 3CCF895C35 for ; Thu, 25 Feb 2016 21:57:12 +0000 (UTC) Received: by mail-pa0-f53.google.com with SMTP id yy13so38789839pab.3 for ; Thu, 25 Feb 2016 13:57:12 -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=jmthGsCCLGvm1vN4s8HKafLc6HGORuPm1uBFmxvCPAA=; b=hcSXYmx78Ihm3gHG7bDUSoxXavvq2dnjnM7AujJhIz/g2fhXIdBdBFygerOMGBGoIm ZJtZPQgFmFbXOOSxr4gEf++rPuFoGvV1R+uelU7ZZaUKUODK0wYJuw19pHtoIOLRjmz7 rrSLoX4Qu6hwP6tDRjgIgIrlrs+EHhsIEDfqI= 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=jmthGsCCLGvm1vN4s8HKafLc6HGORuPm1uBFmxvCPAA=; b=KV0PMcBf+NXjDx/hcNSeDEk33uadJAZlQe4RswGnse3crtvzZ8faDOP9lsUTuvhdLo Zd5vJdDvIWAgS/yvxGCnbZTk1AkaRo2a4tNafCd7OIFS3ZJecmBnCEs66VkkEMcEeLpX 75E33vqaH7iw7l4XMmyN54a93sRYc9U5R1FI8R4dv09jM5LDa0WYtUfvR0BUsKJ0a1B7 QYi1ZJ/ADNHjQzpHPRQeb8BG9eIXbZkbqumhqEaRwQJ/PHspgvmI+okdorfN7D6/sGtm jA/nFOiAQz43Rmi6viM5CGGQndyyGs5Shl67uebN1jnMWSVKOm/ny6gxCzAMrEjyOkMA U7+g== X-Gm-Message-State: AG10YORPYh1CrageJZbGGPTKxQCcvCpTDrmd5lk34quTMn7ZqXh48w6QmQRUh8LILLcJuQ== X-Received: by 10.66.185.227 with SMTP id ff3mr62490613pac.117.1456437432047; Thu, 25 Feb 2016 13:57:12 -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.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Feb 2016 13:57:11 -0800 (PST) From: Gabe Evans To: buildroot@buildroot.org Date: Thu, 25 Feb 2016 21:55:25 +0000 Message-Id: <1456437341-19025-17-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 16/32] package/systemd: add optional support for firstboot 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 | 8 ++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/package/systemd/Config.in b/package/systemd/Config.in index a6c888b..4d53054 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -135,6 +135,14 @@ config BR2_PACKAGE_SYSTEMD_SYSUSERS http://www.freedesktop.org/software/systemd/man/systemd-sysusers.html +config BR2_PACKAGE_SYSTEMD_FIRSTBOOT + bool "enable firstboot support" + help + systemd-firstboot initializes the most basic system settings interactively + on the first boot. + + http://www.freedesktop.org/software/systemd/man/systemd-firstboot.html + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 296c079..5257729 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -163,6 +163,12 @@ else SYSTEMD_CONF_OPTS += --disable-sysusers endif +ifeq ($(BR2_PACKAGE_SYSTEMD_FIRSTBOOT),y) +SYSTEMD_CONF_OPTS += --enable-firstboot +else +SYSTEMD_CONF_OPTS += --disable-firstboot +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK