From patchwork Fri Jul 1 21:51:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 643273 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rh9Bl5M0Zz9t0V for ; Sat, 2 Jul 2016 07:53:03 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=FhDhOGLf; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 28BF8C3971; Fri, 1 Jul 2016 21:52:58 +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 OqtXgDXjCCR0; Fri, 1 Jul 2016 21:52:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 63C53C39F3; Fri, 1 Jul 2016 21:52:53 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 9FC8C1C0B8F for ; Fri, 1 Jul 2016 21:52:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9CA5D94E35 for ; Fri, 1 Jul 2016 21:52:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FCWmOYaT7Lna for ; Fri, 1 Jul 2016 21:52:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id B072D94E0F for ; Fri, 1 Jul 2016 21:52:00 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id a66so7985558wme.2 for ; Fri, 01 Jul 2016 14:52:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=w7Abayd1N/FYropOWDe6gG+oErzQudirUkieYhkvaxI=; b=FhDhOGLfFgmwv+OUxGpSLH2o/z4gzYxZz6kfFbp6WDAH0hT9oWGZ68XNV+T/lfmFpv XFCYUXLPH659uyE1OUvRczWfh+wpdv/eIKRnbbCGuCvw6vAOPIngsmh/3O4P1jKJcJ1S +8i7QZsmkGsC5O4MmlWqQGtb7vNqyX2ETEr61iLkFjMKL0Yk1MCeh+vWlOsT4Q1qJXQf bGVLxKH31HwWdWn4rRruWLtqIgMcBKqTf6KyH9dq+AAp66HD11160a1PR8L/wWO0QtVc rbWXc/y2m5IoFW4OOEhXdyz2PLRdayCU9ZxagFXMBhjm0F6WRHa3FAVJ8ZgfZdABiBQF X0nw== 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=w7Abayd1N/FYropOWDe6gG+oErzQudirUkieYhkvaxI=; b=cdzFYLZk3xZtEdMv4GQDoU0Hf+iKU+0yOKRbeZZC+EjIjf9syNOaao91iS1QddaW87 DIWJGDHqhNgv7jPV/qDTbgC2YEyjqG6rwK8Dm+BphAcVhdKdM3TvChHAyJtd7yEFY5CW v6V/3iyrtLjlE9C2icwtkCfcrAo8NAAMxVWFSfsfnyqGWy/YHhx+Gc8yDYdRGSsyBKh/ DcsW4Bc+0hiFMjIARODvmnCjQWlv5574Lt1VRCkJbQVpTdIDx81v2aAM20DOjvBOXs8U eJNyd4FwouWaZTC0N0g/8llfdIvNzHGEfLwtyZ8j/mxngJtSdNjiXsokLisrWpEDh7E6 mVCA== X-Gm-Message-State: ALyK8tJrOQqAfnlJbUKQVtbnfl52VviEVCui5THZLMOLUYBGYJqryDfOe1T6s/Qi0KrESQ== X-Received: by 10.194.38.4 with SMTP id c4mr321083wjk.20.1467409919200; Fri, 01 Jul 2016 14:51:59 -0700 (PDT) Received: from cerise.home ([2a01:cb19:84c0:6b00:408e:9653:c255:83a4]) by smtp.gmail.com with ESMTPSA id k3sm3752914wju.29.2016.07.01.14.51.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Jul 2016 14:51:58 -0700 (PDT) From: Maxime Hadjinlian To: buildroot@buildroot.org Date: Fri, 1 Jul 2016 23:51:14 +0200 Message-Id: <1467409891-9458-14-git-send-email-maxime.hadjinlian@gmail.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1467409891-9458-1-git-send-email-maxime.hadjinlian@gmail.com> References: <1467409891-9458-1-git-send-email-maxime.hadjinlian@gmail.com> Subject: [Buildroot] [PATCH 14/31] 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" From: Gabe Evans 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 b0cc672..a857a95 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -248,6 +248,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 4a2654c..5b0aa01 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -237,6 +237,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