diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2024-09-02 09:50:10 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-09-03 10:21:38 +0100 |
commit | 47d9dfe82b832a343d1129d838cf93fb2c4b6928 (patch) | |
tree | 909caa5dfc1da05b12506d1b435aed2bd0bc46b2 | |
parent | 8fc1257812f3fb3416812bd3f3e2f2432a7dd698 (diff) | |
download | poky-47d9dfe82b832a343d1129d838cf93fb2c4b6928.tar.gz |
mc: set ac_cv_path_ZIP to avoid buildpaths QA issues
* in builds with zip in HOSTTOOLS mc fails with:
ERROR: mc-4.8.31-r0 do_package_qa: QA Issue: File /usr/libexec/mc/extfs.d/uzip in package mc-helpers-perl contains reference to TMPDIR [buildpaths]
and it's because of the path to zip:
mc/4.8.31/package $ grep -R styhead .
./usr/libexec/mc/extfs.d/uzip:my $app_zip = "TMPDIR/hosttools/zip";
* don't use /usr/bin/env as in other cases, because app_zip is then used e.g. with:
my $cmd_addlink = "$app_zip -g -y";
(From OE-Core rev: 24df179cdb8c89c54d1864862afa2692bb7c659f)
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/mc/mc_4.8.31.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/mc/mc_4.8.31.bb b/meta/recipes-extended/mc/mc_4.8.31.bb index 5f8257f71f..69d089d267 100644 --- a/meta/recipes-extended/mc/mc_4.8.31.bb +++ b/meta/recipes-extended/mc/mc_4.8.31.bb | |||
@@ -31,6 +31,7 @@ CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'" | |||
31 | CACHED_CONFIGUREVARS += "ac_cv_path_PERL_FOR_BUILD='/usr/bin/env perl'" | 31 | CACHED_CONFIGUREVARS += "ac_cv_path_PERL_FOR_BUILD='/usr/bin/env perl'" |
32 | CACHED_CONFIGUREVARS += "ac_cv_path_PYTHON='/usr/bin/env python'" | 32 | CACHED_CONFIGUREVARS += "ac_cv_path_PYTHON='/usr/bin/env python'" |
33 | CACHED_CONFIGUREVARS += "ac_cv_path_GREP='/usr/bin/env grep'" | 33 | CACHED_CONFIGUREVARS += "ac_cv_path_GREP='/usr/bin/env grep'" |
34 | CACHED_CONFIGUREVARS += "ac_cv_path_ZIP='/usr/bin/zip'" | ||
34 | CACHED_CONFIGUREVARS += "mc_cv_have_zipinfo=yes" | 35 | CACHED_CONFIGUREVARS += "mc_cv_have_zipinfo=yes" |
35 | 36 | ||
36 | do_install:append () { | 37 | do_install:append () { |