wic: Check for external modules
authorDarren Hart <dvhart@linux.intel.com>
Tue, 15 Oct 2013 21:46:24 +0000 (14:46 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Oct 2013 12:31:37 +0000 (13:31 +0100)
commitc179c9ff001a7c6c89777fc92a326420a5c11aaf
tree861d7a024e45798309e5fc5dac96a15739f3ed10
parent0add9efb84b950a77968b835d3c6a6231e83d82f
wic: Check for external modules

Since eight unique files import rpm, perform a check at the top level
for the existence of the rpm module print a sensible error message if it
is not. This may be able to be removed if some of the core rpm
dependencies are removed from the mic libs.

Also check for urlgrabber.

This avoids a bracktrace in the event the modules are not installed
which can be very off-putting to would-be users.

(From OE-Core rev: b11bfadba20c1f39a63e396e605a8316c2ed2a94)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/wic