summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2025-07-29 01:03:30 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-07-31 10:48:35 +0100
commitc31d01e0138b3b3c9f8cdb1557c26d2d8383770d (patch)
treecf9864029e144f58e646c9890a8760031a83552c
parent0eb0473883f804f475aa1c75e64f8e4f3efc537d (diff)
downloadpoky-c31d01e0138b3b3c9f8cdb1557c26d2d8383770d.tar.gz
bitbake.conf: Add xz to HOSTTOOLS
The uninative tarball requires xz to decompress: WARNING: Disabling uninative as unable to install uninative tarball: WARNING: tar (child): xz: Cannot exec: No such file or directory (From OE-Core rev: 9c0bc6edf5e6706597563924f62bbab6fdd38ac2) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/bitbake.conf5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index b02459c18f..fb26e72669 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -524,15 +524,12 @@ HOSTTOOLS += " \
524 python3 pzstd ranlib readelf readlink realpath rm rmdir rpcgen sed seq sh \ 524 python3 pzstd ranlib readelf readlink realpath rm rmdir rpcgen sed seq sh \
525 sha1sum sha224sum sha256sum sha384sum sha512sum \ 525 sha1sum sha224sum sha256sum sha384sum sha512sum \
526 sleep sort split stat strings strip tail tar tee test touch tr true truncate uname \ 526 sleep sort split stat strings strip tail tar tee test touch tr true truncate uname \
527 uniq unzstd wc wget which xargs zstd \ 527 uniq unzstd wc wget which xargs zstd xz \
528" 528"
529 529
530# Tools needed to run testimage runtime image testing 530# Tools needed to run testimage runtime image testing
531HOSTTOOLS += "${@'ip ping ps scp ssh stty' if (bb.utils.contains_any('IMAGE_CLASSES', 'testimage testsdk', True, False, d) or any(x in (d.getVar("BBINCLUDED") or "") for x in ["testimage.bbclass", "testsdk.bbclass"])) else ''}" 531HOSTTOOLS += "${@'ip ping ps scp ssh stty' if (bb.utils.contains_any('IMAGE_CLASSES', 'testimage testsdk', True, False, d) or any(x in (d.getVar("BBINCLUDED") or "") for x in ["testimage.bbclass", "testsdk.bbclass"])) else ''}"
532 532
533# Used by archiver.bbclass when compression is xz
534HOSTTOOLS += "${@'xz' if (('archiver.bbclass' in (d.getVar('BBINCLUDED') or '')) and (d.getVarFlag('ARCHIVER_MODE', 'compression') == 'xz')) else ''}"
535
536# Link to these if present 533# Link to these if present
537HOSTTOOLS_NONFATAL += "aws gcc-ar gpg gpg-agent ld.bfd ld.gold nc pigz sftp socat ssh sudo" 534HOSTTOOLS_NONFATAL += "aws gcc-ar gpg gpg-agent ld.bfd ld.gold nc pigz sftp socat ssh sudo"
538 535