]> code.ossystems Code Review - openembedded-core.git/commitdiff
sanity.bbclass: Add which to SANITY_REQUIRED_UTILITIES.
authorPhilip Balister <philip@balister.org>
Wed, 8 Feb 2017 20:27:06 +0000 (15:27 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Feb 2017 17:29:43 +0000 (09:29 -0800)
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 <philip@balister.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/sanity.bbclass

index 0f3ede2be425c73ad0f363325172507f58883f13..8935df8bd8cce97602f8345a4ec642eba9a479be 100644 (file)
@@ -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')