Return-Path: Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by arago-project.org (Postfix) with ESMTPS id E652E52A55 for ; Sat, 3 Apr 2021 00:10:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id C1F8640C97; Sat, 3 Apr 2021 00:11:02 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SyHep1BHrmyw; Sat, 3 Apr 2021 00:11:02 +0000 (UTC) Received: from mail.denix.org (pool-100-15-86-127.washdc.fios.verizon.net [100.15.86.127]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id A78BF40BE9; Sat, 3 Apr 2021 00:11:01 +0000 (UTC) Received: from gimli.denix (unknown [192.168.30.6]) by mail.denix.org (Postfix) with ESMTP id 6AA8917457E; Fri, 2 Apr 2021 20:11:00 -0400 (EDT) From: Denys Dmytriyenko To: meta-arago@arago-project.org Date: Fri, 2 Apr 2021 20:10:21 -0400 Message-Id: <1617408644-2675-7-git-send-email-denis@denix.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1617408644-2675-1-git-send-email-denis@denix.org> References: <1617408644-2675-1-git-send-email-denis@denix.org> Cc: Denys Dmytriyenko Subject: [master][PATCH 06/29] perl: skip shebang-size QA check for nativesdk-perl packages X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2021 00:10:47 -0000 From: Denys Dmytriyenko Do exactly the same workaround as for nativesdk-python3. Details are inside. Signed-off-by: Denys Dmytriyenko --- meta-arago-distro/recipes-devtools/perl/perl_%.bbappend | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-arago-distro/recipes-devtools/perl/perl_%.bbappend diff --git a/meta-arago-distro/recipes-devtools/perl/perl_%.bbappend b/meta-arago-distro/recipes-devtools/perl/perl_%.bbappend new file mode 100644 index 0000000..abd7a55 --- /dev/null +++ b/meta-arago-distro/recipes-devtools/perl/perl_%.bbappend @@ -0,0 +1,12 @@ +# In arago.conf, we pre-allocate SDK path very long to reserve enough space in ELF headers +# and then it gets replaced with a short real path at the time of SDK creation: +# SDKPATH_REAL = "/usr/local/${SDK_NAME_PREFIX}-${SDK_VERSION}" +# SDKPATH = "${@"/tmp/"+"x"*96+"/"+"y"*96}" +# Unfortunately, that triggers the new shebang-size QA check in nativesdk-perl packages + +python() { + if d.getVar('CLASSOVERRIDE') == "class-nativesdk": + pkgs = d.getVar("PACKAGES").split() + for p in pkgs: + d.appendVar('INSANE_SKIP_%s' % (p), ' shebang-size') +} -- 2.7.4