All of lore.kernel.org
 help / color / mirror / Atom feed
* [dunfell/master][PATCH] python3: skip shebang-size QA check for nativesdk-python3 packages
@ 2020-05-10  2:43 Denys Dmytriyenko
  2020-05-11 11:42 ` [EXTERNAL] " Stiffler, Jacob
  0 siblings, 1 reply; 2+ messages in thread
From: Denys Dmytriyenko @ 2020-05-10  2:43 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 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

diff --git a/meta-arago-distro/recipes-devtools/python/python3_%.bbappend b/meta-arago-distro/recipes-devtools/python/python3_%.bbappend
new file mode 100644
index 0000000..3e5bb4c
--- /dev/null
+++ b/meta-arago-distro/recipes-devtools/python/python3_%.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-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')
+}
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-11 11:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-10  2:43 [dunfell/master][PATCH] python3: skip shebang-size QA check for nativesdk-python3 packages Denys Dmytriyenko
2020-05-11 11:42 ` [EXTERNAL] " Stiffler, Jacob

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.