All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] bitbake.conf: Add xz to HOSTTOOLS
@ 2025-07-29  8:03 liezhi.yang
  2025-07-29  8:03 ` [PATCH 1/1] " liezhi.yang
  0 siblings, 1 reply; 3+ messages in thread
From: liezhi.yang @ 2025-07-29  8:03 UTC (permalink / raw)
  To: openembedded-core

From: Robert Yang <liezhi.yang@windriver.com>

The following changes since commit 249e42a02c412454cfed9d58e27a054dfa5d2b06:

  qemu: Remove deprecated asyncio calls in qmp python module (2025-07-28 17:35:16 +0100)

are available in the Git repository at:

  https://github.com/robertlinux/yocto rbt/xz
  https://github.com/robertlinux/yocto/tree/rbt/xz

Robert Yang (1):
  bitbake.conf: Add xz to HOSTTOOLS

 meta/conf/bitbake.conf | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

-- 
2.49.0



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] bitbake.conf: Add xz to HOSTTOOLS
  2025-07-29  8:03 [PATCH 0/1] bitbake.conf: Add xz to HOSTTOOLS liezhi.yang
@ 2025-07-29  8:03 ` liezhi.yang
  2025-08-01 10:48   ` [OE-core] " Quentin Schulz
  0 siblings, 1 reply; 3+ messages in thread
From: liezhi.yang @ 2025-07-29  8:03 UTC (permalink / raw)
  To: openembedded-core

From: Robert Yang <liezhi.yang@windriver.com>

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>
---
 meta/conf/bitbake.conf | 5 +----
 1 file changed, 1 insertion(+), 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 += " \
     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"
 
-- 
2.49.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH 1/1] bitbake.conf: Add xz to HOSTTOOLS
  2025-07-29  8:03 ` [PATCH 1/1] " liezhi.yang
@ 2025-08-01 10:48   ` Quentin Schulz
  0 siblings, 0 replies; 3+ messages in thread
From: Quentin Schulz @ 2025-08-01 10:48 UTC (permalink / raw)
  To: liezhi.yang, openembedded-core

Hi Robert,

On 7/29/25 10:03 AM, Robert Yang via lists.openembedded.org wrote:
> From: Robert Yang <liezhi.yang@windriver.com>
> 
> 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
> 

Is this something we should be making uninative specific maybe? Maybe 
something like we did for ip, ping, ps, scp ,ssh, ssty which are added 
if e.g. testimage.bbclass is inherited?

> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
>   meta/conf/bitbake.conf | 5 +----
>   1 file changed, 1 insertion(+), 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 += " \
>       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 \

I think we want this to stay alphabetically ordered?

Looks good to me otherwise. It seems we already have xz listed in the 
dependencies in the docs (almalinux, fedora, opensuse and ubuntu 
according to my git-grep :) ), so no update required on that front?

Cheers,
Quentin


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-08-01 10:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-29  8:03 [PATCH 0/1] bitbake.conf: Add xz to HOSTTOOLS liezhi.yang
2025-07-29  8:03 ` [PATCH 1/1] " liezhi.yang
2025-08-01 10:48   ` [OE-core] " Quentin Schulz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.