summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2013-10-22 09:24:01 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-23 07:14:00 +0100
commita1e24c4a5f5771b7ad35e53ce96c6d82212e4d7e (patch)
tree9d3eca2559409425ed2e1063af17cb76bb35e77c
parentdd3cc03d4fa3347f8ef2db23d8ff98bdbdb73baa (diff)
downloadopenembedded-core-a1e24c4a5f5771b7ad35e53ce96c6d82212e4d7e.tar.gz
openembedded-core-a1e24c4a5f5771b7ad35e53ce96c6d82212e4d7e.tar.bz2
openembedded-core-a1e24c4a5f5771b7ad35e53ce96c6d82212e4d7e.zip
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>
-rw-r--r--scripts/lib/mic/imager/baseimager.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/lib/mic/imager/baseimager.py b/scripts/lib/mic/imager/baseimager.py
index 4d6be29a0e..b7212493b4 100644
--- a/scripts/lib/mic/imager/baseimager.py
+++ b/scripts/lib/mic/imager/baseimager.py
@@ -26,12 +26,10 @@ import re
import tarfile
import glob
-import rpm
-
from mic import kickstart
from mic import msger
from mic.utils.errors import CreatorError, Abort
-from mic.utils import misc, grabber, runner, fs_related as fs
+from mic.utils import misc, runner, fs_related as fs
class BaseImageCreator(object):
"""Installs a system to a chroot directory.