]> 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)
committerRobert Yang <liezhi.yang@windriver.com>
Wed, 11 Dec 2013 02:12:19 +0000 (21:12 -0500)
commitf5587ec7e7f925b321b9bfe6923be0879dadb2aa
treeb33fef239f530fedc79cc4cc54ba95bae4baa3d5
parent8827b46d8cb4d6918451bd1c3c278465d8796e4b
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

(From OE-Core master rev: a1e24c4a5f5771b7ad35e53ce96c6d82212e4d7e)

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