]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
bitbake.conf: Add xz to HOSTTOOLS
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 29 Jul 2025 08:03:30 +0000 (01:03 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 31 Jul 2025 09:47:56 +0000 (10:47 +0100)
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

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>
meta/conf/bitbake.conf

index b02459c18f6a5c9c6d5ee4eded485a28e507b2d7..fb26e72669c5810df62787aa3f1be48763378ed2 100644 (file)
@@ -524,15 +524,12 @@ HOSTTOOLS += " \
     python3 pzstd ranlib readelf readlink realpath rm rmdir rpcgen sed seq sh \
     sha1sum sha224sum sha256sum sha384sum sha512sum \
     sleep sort split stat strings strip tail tar tee test touch tr true truncate uname \
-    uniq unzstd wc wget which xargs zstd \
+    uniq unzstd wc wget which xargs zstd xz \
 "
 
 # Tools needed to run testimage runtime image testing
 HOSTTOOLS += "${@'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 ''}"
 
-# Used by archiver.bbclass when compression is xz
-HOSTTOOLS += "${@'xz' if (('archiver.bbclass' in (d.getVar('BBINCLUDED') or '')) and (d.getVarFlag('ARCHIVER_MODE', 'compression') == 'xz')) else ''}"
-
 # Link to these if present
 HOSTTOOLS_NONFATAL += "aws gcc-ar gpg gpg-agent ld.bfd ld.gold nc pigz sftp socat ssh sudo"