From patchwork Fri Feb 22 17:29:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Dechesne X-Patchwork-Id: 159041 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1989493jaa; Fri, 22 Feb 2019 09:30:21 -0800 (PST) X-Google-Smtp-Source: AHgI3IaM9DcDcPC16zDYuBMlJkmEaHXmFORwSHfOCiCDE1VsOjKu01iLYLni3YIJzZsNwr/ObVz5 X-Received: by 2002:a63:1cd:: with SMTP id 196mr5092814pgb.58.1550856621690; Fri, 22 Feb 2019 09:30:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550856621; cv=none; d=google.com; s=arc-20160816; b=CRyKflH6o+7Ly3eLWZZ2aAjMhsOVSrHx4DVFs8J8W5pUBTZKUhlhwQpHCmi8Ugx0FA d4gANRiAWu8L+7oelbDLHfw4CyfcrgJqX4Fkypcpr1apIW+u36Cl2qT4BYhCXQngnJvN GFifKL8R9p8RTGRN/NKx697kbFSPVdfoRioq8JJ7hUmvNucN/MfLe2iMD0oqwnRrNJxw kXaklSo02l+YM0hc64X6GwLorTR4JpXlQ18ygFJsIptAV1kv/7fyXX2dhDLSg/uquWNK IyR9kkmlsAxii3kwq9idtvVHpe8ZlLU9JdZqkFMgK0HX7ptz3IJ1gCYSST8qAzqqQABL ba6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=J9D0KbJCRLd6vOMDScof4Ds2Vj+9DGscCrwUZlDf7+I=; b=VqrK9u+r/mok5btJzf+QvY4YRA0Pjy7bqrho09OWGhLcRA9iSoXQ+3gKBrPyIZFV2Z HxfVVk/pqIVghrtbKVa0U/d4nkHf6TtutT5OFn4XxpXzeNGqwMS2r3cx/J5Iy4WB/wa5 NcjDxbl0SsL4Rc1UpXoaaEUqdUMOFBL/8YRlGwSSIWxlbUtg5SHLlpFCvkcfb0Ut0vtt P9x7T716B1ckCEtvnJQ1j5EiCtTWVI6fzZz+kiFTqGtXMcGpjAZJIj+rSpcdDAeyepxQ qTbeKzUfypSTXwGhtlbjvakEm6g3J8twwG+o1+DI0P+6hMBTS1voVKMtTAkF0HI16Zoy NQ2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=W1AqX8gL; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id p5si1853562pgl.180.2019.02.22.09.30.21; Fri, 22 Feb 2019 09:30:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=W1AqX8gL; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 909517CC34; Fri, 22 Feb 2019 17:30:12 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mail.openembedded.org (Postfix) with ESMTP id A5A4A7CC2E for ; Fri, 22 Feb 2019 17:30:10 +0000 (UTC) Received: by mail-wr1-f50.google.com with SMTP id i12so3258630wrw.0 for ; Fri, 22 Feb 2019 09:30:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=h7WydmaeUiozgB5yJ+bodiOiNWEi/AIwEhJm2ohG208=; b=W1AqX8gLoL9ZBVGP6+obYnSYoQTKp+Fn9rW60WL86vkzP8+UhNiqpKL9kGC4+DM7mL a8E2ACPq0pBNvGGT9TGLreBhM3fntxHeNNWpkU22/oK/HBhA7DSLbHtqzdKO8/ENS/BD 8KwUn1qHET17ATrMWinxf1dM/y8+kZfmSbOkar0vcuEOmOXiI8+xQ9ajsnHujwLh9xX+ aHbQugx2G+mtp0ltiVPSlCVQey11zVzlZXU3GtYVOFfc0Boevq50w8idLG4mSOd6Wpt/ zVNFiZ/5UIiJGp4e3aZzEIZ4Ef2R446DdlwHf3wZIl8D9Fuixn53ccK1oXtOKkufW/3C KL4A== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=h7WydmaeUiozgB5yJ+bodiOiNWEi/AIwEhJm2ohG208=; b=C+qqDL5Hn9vIVEPs+7S0x4LFkzfAEHFdx7BBQL/Y0MbqrLPOdoR4l6nNnk5zGAirJY 9OV55cnzij+N3hvFj1z3agE3zTDlKNZk0KGbfz7UnU6MJAnQGpRT3p7MGBcR6N582KQC eLR2lffdVMlJYvU2jXpaG1EZkRWOKYos++XuR0GmsP4FYN1shsiEZ4/zuangSC3U15ka gVMLwah3nV9WrnOROowVejLb4FAjeUzKPt3TEVIpicSPdDW3YksQItthnSlVa7PS5BOg Id5isVYM5spZ3y34O1PUyEeMjVV8Mh9QlelDI/zcLoISLcqrzwr/4zMOtMxJRnlOHti6 J69g== X-Gm-Message-State: AHQUAuYbQA8uao3o6iTLDBGopH0vPfLQBLhgoYvnNHUb2Gvsk6KXbUNg WmcBMSyKMA/rFp+ch8gpColUrRXLPM4Baw== X-Received: by 2002:adf:afe3:: with SMTP id y35mr3315910wrd.318.1550856611030; Fri, 22 Feb 2019 09:30:11 -0800 (PST) Received: from localhost.localdomain (static.8.26.4.46.clients.your-server.de. [46.4.26.8]) by smtp.gmail.com with ESMTPSA id q24sm1337597wmq.16.2019.02.22.09.30.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Feb 2019 09:30:09 -0800 (PST) From: Nicolas Dechesne To: openembedded-devel@lists.openembedded.org Date: Fri, 22 Feb 2019 18:29:47 +0100 Message-Id: <20190222172949.3661-3-nicolas.dechesne@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190222172949.3661-1-nicolas.dechesne@linaro.org> References: <20190222172949.3661-1-nicolas.dechesne@linaro.org> MIME-Version: 1.0 Cc: Nicolas Dechesne Subject: [oe] [meta-oe][PATCH 2/4] polkit: add REQUIRED_DISTRO_FEATURES for polkit X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org After below commits to add polkit as a required distro feature: 97a1a55 polkit: add polkit as a required distro feature c049e02 polkit: inherit distro_features_check All recipes that includes polkit-group-rule.inc will fail to parse when polkit is not in DISTRO_FEATURE, especially 'world'. e.g. ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'udisks', 'polkit'] Signed-off-by: Nicolas Dechesne --- meta-oe/recipes-extended/polkit/polkit-group-rule.inc | 3 +++ 1 file changed, 3 insertions(+) -- 2.20.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/polkit/polkit-group-rule.inc b/meta-oe/recipes-extended/polkit/polkit-group-rule.inc index 40e4005423..06ab106420 100644 --- a/meta-oe/recipes-extended/polkit/polkit-group-rule.inc +++ b/meta-oe/recipes-extended/polkit/polkit-group-rule.inc @@ -1,6 +1,9 @@ # polkit must prepare polkitd group DEPENDS += "polkit" +inherit distro_features_check +REQUIRED_DISTRO_FEATURES = "polkit" + inherit useradd do_install_prepend() {