[07/10] wic: Remove rpmmisc call from livecd

Submitted by tom.zanussi@linux.intel.com on Oct. 22, 2013, 2:24 p.m.


Message ID 8ea5aee83fd0a582e85f2450d27b7d22a6616680.1382451106.git.tom.zanussi@linux.intel.com
State Accepted
Commit e10ae516cfc10900ed12e84c743e3a7127372135
Headers show

Commit Message

tom.zanussi@linux.intel.com Oct. 22, 2013, 2:24 p.m.
We don't currently use LiveCDImageCreator, but it makes calls when
initialized via the plugin interface to rpmmisc module functions,
which we don't want the dependency on.

To make it (and LiveUSBImageCreator) happy, we give it the dummy
"i386" value for now.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
 scripts/lib/mic/imager/livecd.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/scripts/lib/mic/imager/livecd.py b/scripts/lib/mic/imager/livecd.py
index 0711552..e36f4a7 100644
--- a/scripts/lib/mic/imager/livecd.py
+++ b/scripts/lib/mic/imager/livecd.py
@@ -741,7 +741,7 @@  hiddenmenu
-arch = rpmmisc.getBaseArch()
+arch = "i386"
 if arch in ("i386", "x86_64"):
     LiveCDImageCreator = x86LiveImageCreator
 elif arch.startswith("arm"):