]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
nativesdk-libtool: sanitize the script, remove buildpaths
authorDenys Dmytriyenko <denys@konsulko.com>
Thu, 20 Mar 2025 16:46:43 +0000 (17:46 +0100)
committerSteve Sakoman <steve@sakoman.com>
Thu, 20 Mar 2025 19:51:41 +0000 (12:51 -0700)
commita720df7ad77af1f8b1c00a211c88537e5f23edbc
tree9cb01154bd41acf2090e4bf52504165e34548839
parent621e0ac9308cc163fb767a27d63fff6570896b92
nativesdk-libtool: sanitize the script, remove buildpaths

Use the same sed command to sanitize libtool script for target recipe
and nativesdk one. Otherwise fails with buildpaths QA error:

ERROR: nativesdk-libtool-2.5.0-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/bin/libtool in package nativesdk-libtool contains reference to TMPDIR [buildpaths]

(From OE-Core rev: f08df9adf290fb6cbebff24df6bbbbe8e5ce95e0)

Upstream-Status: Backport[https://git.yoctoproject.org/poky/commit/?id=89e184da6c9d95a99fd34334df5ac6c5ae87f13a]

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 89e184da6c9d95a99fd34334df5ac6c5ae87f13a)
Signed-off-by: Nikhil R <nikhilr5@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/libtool/libtool_2.4.7.bb
meta/recipes-devtools/libtool/nativesdk-libtool_2.4.7.bb
meta/recipes-devtools/libtool/remove-buildpaths.inc [new file with mode: 0644]