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.

(From OE-Core rev: 096c07900250db157bb0c38785b9d8efc6301cab)

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Philip Balister 2017-02-08 15:27:06 -05:00 committed by Richard Purdie
parent 6f3f9457a6
commit b6939b7392
1 changed files with 1 additions and 1 deletions

View 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')