Skip to contentSkip to conversation

sanity.bbclass: add xz to SANITY_REQUIRED_UTILITIES

PATCH In review Jeff Polk 2 participants 2 messages Sep 9, 2013

lore
Share & tools
lore

Jeff Polk

author
#0 lore raw

PATCH 1/1 sanity.bbclass: add xz to SANITY_REQUIRED_UTILITIES

xz is commonly available and is now used by some recipes It's reasonable to expect it to be present so error immediately if it's not.

---
 meta/classes/sanity.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/sanity.bbclass +1 -1
index a49b405..26038cb 100644
@@ -2,7 +2,7 @@
 # Sanity check the users setup for common misconfigurations
 #
 
-SANITY_REQUIRED_UTILITIES ?= "patch diffstat makeinfo git bzip2 tar gzip gawk chrpath wget cpio"
+SANITY_REQUIRED_UTILITIES ?= "patch diffstat makeinfo git bzip2 tar gzip gawk chrpath wget cpio xz"
 
 def bblayers_conf_file(d):
     return os.path.join(d.getVar('TOPDIR', True), 'conf/bblayers.conf')
Signature · 1 line
1.7.1
#1 lore raw
Quoted 8 lines · Jeff Polk

xz is commonly available and is now used by some recipes It's reasonable to expect it to be present so error immediately if it's not.

---
 meta/classes/sanity.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Is it in all the base distros we use as standard or do we need update the quickstart? Shouldn't we also be adding it to ASSUME_PROVIDED?

I think there is a different bug which may sometimes lead to build failures due to the dependency on it not being generated correctly.

Cheers,

Richard

Quoted 13 lines
meta/classes/sanity.bbclass +1 -1
index a49b405..26038cb 100644
@@ -2,7 +2,7 @@
 # Sanity check the users setup for common misconfigurations
 #
 
-SANITY_REQUIRED_UTILITIES ?= "patch diffstat makeinfo git bzip2 tar gzip gawk chrpath wget cpio"
+SANITY_REQUIRED_UTILITIES ?= "patch diffstat makeinfo git bzip2 tar gzip gawk chrpath wget cpio xz"
 
 def bblayers_conf_file(d):
     return os.path.join(d.getVar('TOPDIR', True), 'conf/bblayers.conf')