From patchwork Tue Aug 6 10:17:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 170656 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp5491000ile; Tue, 6 Aug 2019 03:17:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqyBECYy6X6VwkG6HFN2U4q6Qheo3BahaJwHEaVO3VpPdHF1SOp7elmEt0KpQxaY5xakpidD X-Received: by 2002:a62:e710:: with SMTP id s16mr2938624pfh.183.1565086650897; Tue, 06 Aug 2019 03:17:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565086650; cv=none; d=google.com; s=arc-20160816; b=ZEB0kh8cnJUwMdSFfkAspwK29KKCtt9HocmOdxJ0vxqEz3A8kiAWG03MKngVQGg2nK KfVRBWsupp3M+1w2zmvXzXdGZTjeKnFOfwVaxkbabsInxm9dnVIbo98QCsX86j3hwEWT AV37ouftS0Nwo9Nq6/+RtRsNyH7cTLqovCVPrvw0S+UjFdjAKlOcoGSzQQif8FLq19t1 L7PF5Ak7L/2FbzZKPMtHd0JjlrRI2zAlPKEticXq/FEzGKphUEU1HK1zvS/AI8gB/0lr drfwNKFHJEy/wuS9fKz3xUezDrFpsbTl0oBp1XGEobRNTX6fI0bA2zTEZqbhtrLBPP6d sO2A== 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 :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=sl5SxAZZm6V7kpckay4YIE9sZDQbn1umsr1Y2pdyjgE=; b=TJnk8n8Je/ZXhBry0Gd3yKAJo8zn+Lv4MhC1mV6yOvRUcs6m5OB0EltHusYuhOFW/9 T98gUH4aQEdQkXJWAXvvOhvmDdFjDbFDbbnrIoJfYC+vF82JW7utSUBTRpPnePrDWRY3 uT0ZkQOJWFhRrP+cTAMLPFNOPL2vgsUW6kphmCOgooBu85KSwK8vA/TdQ7oqrnpIjhOi s19kcvqkLYT0ghK9+e3Dvobq8l+S1W1k+sqIsK71ajp/pRou3x+aFO9oGTPhyqxav6gt dw5DsSiTz+1m4rplcUrsScgwYWhtbmeok/nnQlecLis0fAmPVyRMYhtL7Yr8m3b+thrE Y+Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=wk32VyjB; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id l1si48924471pgs.458.2019.08.06.03.17.30; Tue, 06 Aug 2019 03:17:30 -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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=wk32VyjB; 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=NONE dis=NONE) header.from=intel.com 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 F0BBA7F2F2; Tue, 6 Aug 2019 10:17:25 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by mail.openembedded.org (Postfix) with ESMTP id 3B7427F298 for ; Tue, 6 Aug 2019 10:17:23 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id k2so1448194wrq.2 for ; Tue, 06 Aug 2019 03:17:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=1Vckd1+wTAYTmtWM/H9adZam9kdwEencI2ocw4K7xh0=; b=wk32VyjBu64NrihAzINspO+l7540Yv1PQuMDTQ2ltRjquEaSsF53RJze0hy6i881ug xrbQDVBXvMTR4d15bX0wKehJE2iV7a7kDIeaZbURtluqzqqpny3mcJAOOmyYo8f5x0iJ vH+z2r0xFzAFR0G6cnXBlbksIPnq2IkzMj7ebQRQq1vaTTz5PcSRsPUmurMMDrqDLGWC cXY+y3XGFAIgxGFN1mvDQclKk07bwtrW3ohDeKZFAYyIzjooESrL6Oc0ERtIPxdfJslK 4QvH8goQ27iXbLsAcl4JYlvP/wubBHmaXMGDgnK4ypiw4ZU64YaQrGD+rfPr7n7yxhw5 JxPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=1Vckd1+wTAYTmtWM/H9adZam9kdwEencI2ocw4K7xh0=; b=Tf+WPpPw4xGtbWabyGvDfJQSlhDgJGyAgo3nn3xMPLGcj8Zg79kqo3Zga3NsERQgvU 5c6jDQD/LvBk/5NUYe24TDujClpoPnzGSBHMxEKxtrqTlmb2wndeW/dC8wmJR2Aoe05H rPEWHmB8HmFWKCJQK8ppt9K5rl6Nb864+7Kj/6isap8AF73aF5TALl0wAMRItHcPpaK+ aaHXmyg5Knij53av0LcCS32leOQrYcjJpsYQ492lzyiu2sKuF6VGf+nWOmTWMQZVRwv/ 6Mhkit3Nvo8vdBnyH7drn96i8IyI0St7TtrJ6rYCiU2r94XS8ZLo9CyNON0BDRaRW8un Uu8Q== X-Gm-Message-State: APjAAAVuOIm2SFSWRhAxf8ZmLoWgQgD+r6hl+n2jpCnAkk5QXfqaknJD SlKyjmlxntoErD6H5Hg2kSuKJujLkOc= X-Received: by 2002:adf:f884:: with SMTP id u4mr3614787wrp.264.1565086644344; Tue, 06 Aug 2019 03:17:24 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id e19sm120736817wra.71.2019.08.06.03.17.22 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 06 Aug 2019 03:17:22 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Tue, 6 Aug 2019 11:17:20 +0100 Message-Id: <20190806101720.2721-1-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH] sanity: update for new bb.build.exec_func() behaviour 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: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org The pythonexception argument is no more, and passing True is the new behavior. [ YOCTO #13468 ] Signed-off-by: Ross Burton --- meta/classes/sanity.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 9429202dcad..2d3f49eb1a7 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -573,7 +573,7 @@ def sanity_check_conffiles(d): if check_conf_exists(conffile, d) and d.getVar(current_version) is not None and \ d.getVar(current_version) != d.getVar(required_version): try: - bb.build.exec_func(func, d, pythonexception=True) + bb.build.exec_func(func, d) except NotImplementedError as e: bb.fatal(str(e)) d.setVar("BB_INVALIDCONF", True)