sanity.bbclass: add xz to SANITY_REQUIRED_UTILITIES
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.
Signed-off-by Jeff Polk <[email protected]>
--- meta/classes/sanity.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/sanity.bbclass +1 -1
@@ -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
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.
Signed-off-by Jeff Polk <[email protected]>--- 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@@ -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')