]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
mc: set ac_cv_path_ZIP to avoid buildpaths QA issues
authorMartin Jansa <martin.jansa@gmail.com>
Mon, 2 Sep 2024 07:50:10 +0000 (09:50 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 Sep 2024 09:21:24 +0000 (10:21 +0100)
commit24df179cdb8c89c54d1864862afa2692bb7c659f
tree45c9096451428a948446a08f7cd2a85b0d626f7d
parent501906c4cdd4eb409bddbb8a4d10c78fbf81d980
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";

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>
meta/recipes-extended/mc/mc_4.8.31.bb