From: Denys Dmytriyenko <[email protected]> Do exactly the same workaround as for nativesdk-python3. Details are inside.
Signed-off-by: Denys Dmytriyenko <[email protected]> --- 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 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
