From patchwork Thu Feb 25 21:55:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabe Evans X-Patchwork-Id: 588412 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 E34DF140317 for ; Fri, 26 Feb 2016 08:58:12 +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=rQHgI8RL; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 09EDA95DFD; Thu, 25 Feb 2016 21:58:01 +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 tOnvzpn7rzxo; Thu, 25 Feb 2016 21:58:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 54C9F95DF3; Thu, 25 Feb 2016 21:58:00 +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 8C7D41C2E64 for ; Thu, 25 Feb 2016 21:57:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 8991F31418 for ; Thu, 25 Feb 2016 21:57: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 arpmvBuFe4vg for ; Thu, 25 Feb 2016 21:57:20 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f178.google.com (mail-pf0-f178.google.com [209.85.192.178]) by silver.osuosl.org (Postfix) with ESMTPS id 1F3CC30C8B for ; Thu, 25 Feb 2016 21:57:20 +0000 (UTC) Received: by mail-pf0-f178.google.com with SMTP id q63so39614470pfb.0 for ; Thu, 25 Feb 2016 13:57:20 -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=2otAXRHMLNcj88hZP8GDUwNfBgrzGCYoS7SeLjoFRts=; b=rQHgI8RLjpKpQNxZS7f8cAAcva9/ZT2JUiqGdYlzoQ+13mVp1NnP22zkYgbX/Ajg8s vHEuheRUB1r+xj6pgXpRleArobTnZc12vRYK1pRpZ67q7ShP8d3CCcDn+0q/mVnlTVVt 6xQ1FR1w8Yk9m/w5sSkEnUMfGUCxDklNF6WrA= 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=2otAXRHMLNcj88hZP8GDUwNfBgrzGCYoS7SeLjoFRts=; b=Wbfrz3FEiK02Z2FV9jAYDLrPq9GgYCEInEzvlVT1ecO1V/o01dsZklKBDPtFQhh6eG pVT8KfAuQtqb40T84t95GpMn8Nnj3HrjyIaA1YBz+EBgqJ4TmivZILN7IAAxfq6tQXXI hBfbgjGUHTtzbNZ+zlinW96Ted5K+1cBMtI4oD1VxLzbQiWkcHN5gkAFWV21EnSQy+yZ 0JK7B6DXSF7Meq3fXs/MyJbeDo8XfrZzl12Noj71ACGrflc+Ov1L4ew5LxsKbC8BZTRl wFNKUzXO2sn4wwCxzwqEm9HltNUBinMzmkNDgrdicN8JN3Kgtk1Z2/hI+pmGtxfWwclG GVBg== X-Gm-Message-State: AG10YORfwu8aY4kRVN1ca/EbCQLUN2XEerbjn9eVWrFye+czA6jCj2wjgngv9zpisBh7GA== X-Received: by 10.98.33.70 with SMTP id h67mr65590937pfh.54.1456437439898; Thu, 25 Feb 2016 13:57:19 -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.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Feb 2016 13:57:19 -0800 (PST) From: Gabe Evans To: buildroot@buildroot.org Date: Thu, 25 Feb 2016 21:55:36 +0000 Message-Id: <1456437341-19025-28-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 27/32] package/systemd: add optional support for polkit 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 | 10 ++++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/package/systemd/Config.in b/package/systemd/Config.in index 1596d88..b0dbdbd 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -231,6 +231,16 @@ config BR2_PACKAGE_SYSTEMD_COREDUMP http://www.freedesktop.org/software/systemd/man/systemd-coredump.html +config BR2_PACKAGE_SYSTEMD_POLKIT + bool "enable polkit support" + select BR2_PACKAGE_POLKIT + help + If enabled, systemd is built with polkit support and policy files for its + services are generated and installed. It is useful for allowing unprivileged + processes to speak to systemd's many privileged processes. + + http://wiki.freedesktop.org/www/Software/polkit/ + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 3e6d055..9f64971 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -229,6 +229,12 @@ else SYSTEMD_CONF_OPTS += --disable-coredump endif +ifeq ($(BR2_PACKAGE_SYSTEMD_POLKIT),y) +SYSTEMD_CONF_OPTS += --enable-polkit +else +SYSTEMD_CONF_OPTS += --disable-polkit +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK