From patchwork Sat May 5 00:14:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135058 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp659234lji; Fri, 4 May 2018 17:17:13 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqB8fksjyWI6JFfsO9o83/nBE8NtE3PwX2HKmcgEqhdefWtolM7gkvmfzo4XuaWvOES65KX X-Received: by 2002:a65:530a:: with SMTP id m10-v6mr5554123pgq.429.1525479433108; Fri, 04 May 2018 17:17:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479433; cv=none; d=google.com; s=arc-20160816; b=H7Xp0FD/cxyf0wv4KlKH30OpIUgWuRq71F1xWKUapB6Le9AZMSQreDKauAPOD/AXBV LXh9Ulq14idYonhgDwA3I56YM1usccEjccdb8Sw9ZVMWbAoYyrwb7d1kY/kOof2yGug7 e/c+5qHWAYG8I6WCa/h6G1bj3z6mpwA4pzCaEY/v3Md5ONGKzUTf5ubuiYkIoydQ//14 Ooo3FCJh8ARtF379mH+plS4QdATc5DUczWmdtCAEXYdpyLLqBobpjJ+d4s+n4uCJMLpr XvKYAdWJZgTeoYwJzP2t19UdRq05Mv1wLrgtsS0POeXR6Gpk0mrjEEg0eFu72OFv3VZp 0Udg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=SOiEwpcbp41EJbQvNRnurQDd5lW7CW4cYRqVmkZEjhA=; b=bPLUa/XQjHhK69z9aFn+AfB3n//jTy9RxezQjDHVEsOVloZkDf1gaASHY2wJuVdFp0 +lMcjvDRaYyriKpLRWE/oFP23UpXM+XVujPvpvDWgtYDKmDFxGoO/kndGufb1/3obOOp NNYK0uKJOoPiWLman6dD2ZuSrXgBXqUtNwWlj+2pGjyRqXkFqlRJWUWi00lBa/ODIfiD JgqP+k4Cegxeb5LTdEH6GI5SW8kyhHIJmiQcuCR50mLKFRZKepl+ZpHbW9uwrbDF7+XN IJ7JC5pKMz3M1pxQmTO9V2wt8XqT9HdNPbv07cADeI3cccCe+a6wE4H8hQOg4dQQfOMJ 3qwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=WHZDmImh; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id n6si11718608pfi.360.2018.05.04.17.17.12; Fri, 04 May 2018 17:17:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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=@gmail.com header.s=20161025 header.b=WHZDmImh; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 85C9774E4D; Sat, 5 May 2018 00:15:07 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id 3E6AC74DDA for ; Sat, 5 May 2018 00:14:47 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id p9-v6so13545906pgc.9 for ; Fri, 04 May 2018 17:14:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=rDjOx9JKZd+yZsuc/wtqNsuwD+B0Vx+tt4bnYcGFwMk=; b=WHZDmImhnj57r4G8MHfShGiWJcqxjUwTStPl42dAVSjCXBEWvl/uqYbI2oPxFj8pYL ANR23XfCoLXObUb6siw+ZN2e1Ucsq1MrJ2f3F9TYHmqBDJ/TEbAnrOG8svto9M3lB/Go 4D4oJO/M3P07yS+p7HemQ6VMmOu0pwOn33m7ABhWAA6kRgOCxYCMT695fHqNCz3wEksv efLkSrEDC3Ybss+HjM+OFhUl+wy8m+ETKe9YCyhw/K7rFsqgOLxPpNddvJwkyqh3cFJ0 q6X6In7Jryv2RTl0fRS+DQo6ujjKQ4rNJZL/QKavM5TlOddbK5wvye0WJu1MEhly65eW j3Vg== 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; bh=rDjOx9JKZd+yZsuc/wtqNsuwD+B0Vx+tt4bnYcGFwMk=; b=LPFSO+ettd/+rAcplviDmPIqiPSCmtXUq/lKVg79ckfDEwQF33g3O5spwM3by/ZIC+ FwY6uK0wC1qG8o7rAHXUhpL5BvZBvP/+C4c74mI5lJpO6vSbfeX01+KZlmgOAICEHQEq DUgfp8UXAXUft1b/ULmuG+tdWJB7Z3kArbDClzBHFoO1UyNbWAEGbZwhP5yO52gsvNEN PkssfT48/o01jbz36eMvKQWOUyttjIt3PQtKV5ets6ErC0sG9HtVI+vTFM0xy/a+G9ef yGxzjwgAuOwAmzfhpPn4WVvWYWs9b2x3AgOqrMN1K/N8YvFHR+xPEtqTY8/DBPHYLZya yz8Q== X-Gm-Message-State: ALQs6tDleDhTbs/QxXuUSUbuwFE3ITZ2LWch+4pwkMPlSlqcW7HA2LPF pdwQ/jsoLzgkhzIkmrUZ6uE4xA== X-Received: by 2002:a65:45c2:: with SMTP id m2-v6mr23834500pgr.433.1525479288204; Fri, 04 May 2018 17:14:48 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:47 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:16 -0700 Message-Id: X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 22/27] allarch.bbclass: Exclude package_do_shlibs from do_package signature X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org shlibs is largely useless for allarch, the particular usecase where it fails is when DISTRO_FEATURE is changing due to libc being different e.g. Variable package_do_shlibs value changed: -DISTRO_FEATURES{ldconfig} = Set +DISTRO_FEATURES{ldconfig} = Unset musl -> glibc or other way around 'ldconfig' gets added or deleted to DISTRO_FEATURE set, neither this distro feature nor the shlibs processing during packaging is of interest to allarch packages which are largely arch independent scripts Signed-off-by: Khem Raj --- meta/classes/allarch.bbclass | 1 + 1 file changed, 1 insertion(+) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass index 51ba509cd0..1eebe0bf2e 100644 --- a/meta/classes/allarch.bbclass +++ b/meta/classes/allarch.bbclass @@ -45,6 +45,7 @@ python () { # These multilib values shouldn't change allarch packages so exclude them d.appendVarFlag("emit_pkgdata", "vardepsexclude", " MULTILIB_VARIANTS") d.appendVarFlag("write_specfile", "vardepsexclude", " MULTILIBS") + d.appendVarFlag("do_package", "vardepsexclude", " package_do_shlibs") elif bb.data.inherits_class('packagegroup', d) and not bb.data.inherits_class('nativesdk', d): bb.error("Please ensure recipe %s sets PACKAGE_ARCH before inherit packagegroup" % d.getVar("FILE")) }