summaryrefslogtreecommitdiff
path: root/scripts/lib/mic
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2013-10-22 09:24:02 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-23 07:14:00 +0100
commite10ae516cfc10900ed12e84c743e3a7127372135 (patch)
tree225f3cfb93acf9064009cd694b2b38550a43d6d1 /scripts/lib/mic
parenta1e24c4a5f5771b7ad35e53ce96c6d82212e4d7e (diff)
downloadopenembedded-core-e10ae516cfc10900ed12e84c743e3a7127372135.tar.gz
openembedded-core-e10ae516cfc10900ed12e84c743e3a7127372135.tar.bz2
openembedded-core-e10ae516cfc10900ed12e84c743e3a7127372135.zip
wic: Remove rpmmisc call from livecd
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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/mic')
-rw-r--r--scripts/lib/mic/imager/livecd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/mic/imager/livecd.py b/scripts/lib/mic/imager/livecd.py
index 07115526bd..e36f4a76c6 100644
--- a/scripts/lib/mic/imager/livecd.py
+++ b/scripts/lib/mic/imager/livecd.py
@@ -741,7 +741,7 @@ hiddenmenu
self._configure_syslinux_bootloader(isodir)
self._configure_efi_bootloader(isodir)
-arch = rpmmisc.getBaseArch()
+arch = "i386"
if arch in ("i386", "x86_64"):
LiveCDImageCreator = x86LiveImageCreator
elif arch.startswith("arm"):