From: Philip Balister Date: Wed, 8 Feb 2017 20:27:06 +0000 (-0500) Subject: sanity.bbclass: Add which to SANITY_REQUIRED_UTILITIES. X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~22556 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=096c07900250db157bb0c38785b9d8efc6301cab;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git sanity.bbclass: Add which to SANITY_REQUIRED_UTILITIES. Using docker with the Fedora 23 container exposed an issue with the rpm-native configure step. If which is not present the configure script fork bombs. After much pain, I tracked this to which not being present in the default container. Add a check for which so others do not have to have this experience. Signed-off-by: Philip Balister Signed-off-by: Ross Burton --- diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 0f3ede2be42..8935df8bd8c 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -3,7 +3,7 @@ # SANITY_REQUIRED_UTILITIES ?= "patch diffstat makeinfo git bzip2 tar \ - gzip gawk chrpath wget cpio perl file" + gzip gawk chrpath wget cpio perl file which" def bblayers_conf_file(d): return os.path.join(d.getVar('TOPDIR'), 'conf/bblayers.conf')