ACK

> -----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 packages
> 
> From: 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
> 
> 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
> 
> _______________________________________________
> meta-arago mailing list
> [email protected]
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to