]> code.ossystems Code Review - openembedded-core.git/commit
wic: Remove rpm and grabber dependencies from BaseImageCreator
authorTom Zanussi <tom.zanussi@linux.intel.com>
Tue, 22 Oct 2013 14:24:01 +0000 (09:24 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Oct 2013 06:14:00 +0000 (07:14 +0100)
commita1e24c4a5f5771b7ad35e53ce96c6d82212e4d7e
tree9d3eca2559409425ed2e1063af17cb76bb35e77c
parentdd3cc03d4fa3347f8ef2db23d8ff98bdbdb73baa
wic: Remove rpm and grabber dependencies from BaseImageCreator

BaseImageCreator is a base class for DirectImageCreator and others,
and imports rpm and grabber (which imports rpm).

The various plugins e.g. DirectPlugin import the creators and
therefore these dependencies, which manifest at run-time as e.g.:

  Warning: Failed to load plugin imager/direct_plugin: No module named
    rpm

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/mic/imager/baseimager.py