From patchwork Thu Feb 25 21:55:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabe Evans X-Patchwork-Id: 588414 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 C4D9D140556 for ; Fri, 26 Feb 2016 08:58:14 +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=owD7yR1Y; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2D2C895DF7; Thu, 25 Feb 2016 21:58:03 +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 Y4irxlJ+BAvU; Thu, 25 Feb 2016 21:58:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 6566095DFE; Thu, 25 Feb 2016 21:58:02 +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 5668F1C2E64 for ; Thu, 25 Feb 2016 21:57:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4EB7695D4B for ; Thu, 25 Feb 2016 21:57:21 +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 LtLRHdpx28Ej for ; Thu, 25 Feb 2016 21:57:15 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by hemlock.osuosl.org (Postfix) with ESMTPS id 2B04195898 for ; Thu, 25 Feb 2016 21:57:15 +0000 (UTC) Received: by mail-pa0-f48.google.com with SMTP id fl4so38843095pad.0 for ; Thu, 25 Feb 2016 13:57:15 -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=8T9qQl20rZSMvITxU66gE8mTjMRs2XmnmhfcVWmEVNc=; b=owD7yR1Yz8gWv58N9LTh9vtBllE119ARjgKTWCkbxY87QkxXciA2RbrC9vQky7hCQU GrKqFAiyjI5J8ZMb+g4R0qghtnN2QpM8BCOxdHftZcwPLUfzCkcOCnfS9ogy/zuA7Lre ZKssO4zKMNNWPcd4H3wz55DkxPSUY10X1+hyg= 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=8T9qQl20rZSMvITxU66gE8mTjMRs2XmnmhfcVWmEVNc=; b=BfQLl/GX4S1oj4EnOc7F2OFuhWNqLjlE5JrbjHdCncmsEMlBdPmZ4yLD+EfXZVYa/H H/9YRRkYMKuWbCAEzpOzqIKwG0T56t5rIsiGJOjagr2hFBQMhOBKB6uCNqkbpr2zAKHE 1b637wHlLZOMmGrcmDTn4pr+U9SRI0NZWwcPQ9cfBgGNImlLF+hr+qhFRWgrhmG8ERQb GlRL5XSuEb7XLBLqL4mT9rzWAsnnnkV7CzW9g6P7OEU5D0f3NNJKJny39gUp8zoIlOs5 Ck7255z1/dV4Jhgs5axupzyxYAh3ULz7tjpRf8FW343pRiNR7wcB0q/45do3HK5F3rTZ COVQ== X-Gm-Message-State: AG10YOQb+ehjXQDgfKuWFIVRYJKYNKduLNuW8ZO2wH2VTemt1YMLpbxRH7AuFX+MYi3/xw== X-Received: by 10.66.246.165 with SMTP id xx5mr66463255pac.87.1456437434881; Thu, 25 Feb 2016 13:57:14 -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.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Feb 2016 13:57:14 -0800 (PST) From: Gabe Evans To: buildroot@buildroot.org Date: Thu, 25 Feb 2016 21:55:29 +0000 Message-Id: <1456437341-19025-21-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 20/32] package/systemd: add optional support for logind 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 | 7 +++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/package/systemd/Config.in b/package/systemd/Config.in index f1cbc95..b9727e6 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -168,6 +168,13 @@ config BR2_PACKAGE_SYSTEMD_RFKILL http://www.freedesktop.org/software/systemd/man/systemd-rfkill@.service.html +config BR2_PACKAGE_SYSTEMD_LOGIND + bool "enable login daemon" + help + systemd-logind is a system service that manages user logins. + + http://www.freedesktop.org/software/systemd/man/systemd-logind.service.html + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index f7036b9..680efb8 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -187,6 +187,12 @@ else SYSTEMD_CONF_OPTS += --disable-rfkill endif +ifeq ($(BR2_PACKAGE_SYSTEMD_LOGIND),y) +SYSTEMD_CONF_OPTS += --enable-logind +else +SYSTEMD_CONF_OPTS += --disable-logind +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK