Skip to contentSkip to conversation

bitbake.conf: add 'xz' to HOSTTOOLS

PATCH In review André Draszik 2 participants 3 messages Nov 16, 2017 – Nov 17, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake.conf: add 'xz' to HOSTTOOLS

Files in SRC_URI that are xz compressed can not be unpacked without this, as we'd have no decompressor available.

---
 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/bitbake.conf +1 -1
index 9696273acc..dfc4de56a6 100644
@@ -480,7 +480,7 @@ HOSTTOOLS += " \
     mktemp mv nm objcopy objdump od patch perl pod2man pr printf pwd python python2 \
     python2.7 python3 ranlib readelf readlink rm rmdir rpcgen sed sh sha256sum \
     sleep sort split stat strings strip tail tar tee test touch tr true uname \
-    uniq wc wget which xargs \
+    uniq wc wget which xargs xz \
 "
 
 # Tools needed to run testimage runtime image testing
Signature · 1 line
2.15.0.rc1
#1 lore raw
Quoted 3 lines · André Draszik

Files in SRC_URI that are xz compressed can not be unpacked without this, as we'd have no decompressor available.

I thought we added xz-native dependency to such recipes

Quoted 32 lines
---
 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/bitbake.conf +1 -1
index 9696273acc..dfc4de56a6 100644
@@ -480,7 +480,7 @@ HOSTTOOLS += " \
     mktemp mv nm objcopy objdump od patch perl pod2man pr printf pwd
 python python2 \
     python2.7 python3 ranlib readelf readlink rm rmdir rpcgen sed sh
 sha256sum \
     sleep sort split stat strings strip tail tar tee test touch tr true
 uname \
-    uniq wc wget which xargs \
+    uniq wc wget which xargs xz \

"

# Tools needed to run testimage runtime image testing
--
2.15.0.rc1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#2 lore raw
Quoted 8 lines · Khem Raj
Quoted 3 lines · André Draszik

Files in SRC_URI that are xz compressed can not be unpacked without this, as we'd have no decompressor available.

I thought we added xz-native dependency to such recipes

OK, I have no problem doing that instead. Just seems a little inconsistent, as bunzip and gunzip are available by default for all recipes.

Cheers,
Andre'