sanity.bbclass: check required perl modules
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 22 Jan 2014 10:45:42 +0000 (18:45 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Jan 2014 00:52:34 +0000 (00:52 +0000)
commiteddf8bb9864712647d6ede1b4cbeababf908f829
treeba19daa96b71e8f350dea714e059c1c597a1047a
parent556502cd34e7648f8e5f299a8d0e796313e46c2c
sanity.bbclass: check required perl modules

Several required perl modules may missing on the host, for example the
Text::ParseWords, Thread::Queue and Data::Dumper are not installed by
default on recent Fedora releases (19 and 20 AFAIK). There would be wild
errors if they don't exist, so check them in sanity.bbclass.

And add perl to SANITY_REQUIRED_UTILITIES.

[YOCTO #5744]

(From OE-Core rev: b46d82bea23208733b71642bb262c9a05c08efec)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass