python3: skip shebang-size QA check for nativesdk-python3 packages
PATCH 1/1 python3: skip shebang-size QA check for nativesdk-python3 packages
From: Denys Dmytriyenko <[email protected]>
--- meta-arago-distro/recipes-devtools/python/python3_%.bbappend | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-arago-distro/recipes-devtools/python/python3_%.bbappend
meta-arago-distro/recipes-devtools/python/python3_%.bbappend new file +12 -0
@@ -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-python3 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') +}
Signature · 1 line
2.7.4
ACK
Quoted 48 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Saturday, May 09, 2020 10:43 PM
To: [email protected]
Subject: [EXTERNAL] [meta-arago] [dunfell/master][PATCH] python3: skip shebang-size QA check for nativesdk-python3 packagesFrom: Denys Dmytriyenko <[email protected]>
Signed-off-by Denys Dmytriyenko <[email protected]>--- meta-arago-distro/recipes-devtools/python/python3_%.bbappend | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-arago-distro/recipes-devtools/python/python3_%.bbappend
(quoted diff) +0
-0devtools/python/python3_%.bbappend b/meta-arago-distro/recipes- devtools/python/python3_%.bbappend
new file mode 100644
index 0000000..3e5bb4cmeta-arago-distro/recipes-devtools/python/python3_%.bbappend new file +1
-0@@ -0,0 +1,12 @@ +# In arago.conf, we pre-allocate SDK path very long to reserve enoughspace in ELF headers
+# and then it gets replaced with a short real path at the time of SDK creation:meta-arago-distro/recipes-devtools/python/python3_%.bbappend new file +3
-0+# 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-python3 packages
meta-arago-distro/recipes-devtools/python/python3_%.bbappend new file +7
-1+ +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
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago