summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2013-10-22 09:23:56 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-23 07:13:59 +0100
commit3103f0cb908eced7b751128c2bba898d12017c80 (patch)
tree68e4e24c4a7bee1ae07335e53c15ccf40c00ea94 /scripts/lib
parent6c7115a56c3d0bf3d6d0275bd2d49d8cfef5c028 (diff)
downloadopenembedded-core-3103f0cb908eced7b751128c2bba898d12017c80.tar.gz
openembedded-core-3103f0cb908eced7b751128c2bba898d12017c80.tar.bz2
openembedded-core-3103f0cb908eced7b751128c2bba898d12017c80.zip
wic: Remove dependency on rt_util module
rt_util contains bootstrap_mic(), which imports rpm and other things we don't need because we don't do bootstrap i.e. runtime (set in wic.conf) is always set to 'native', which means use what's on the local host. bootstrap mode is for downloading and installing rpms that wic needs, which we may want to implement later; for now, we just want to use what's local. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/mic/creator.py2
-rw-r--r--scripts/lib/mic/plugins/imager/direct_plugin.py2
-rw-r--r--scripts/lib/mic/plugins/imager/fs_plugin.py2
-rw-r--r--scripts/lib/mic/plugins/imager/livecd_plugin.py2
-rw-r--r--scripts/lib/mic/plugins/imager/liveusb_plugin.py2
-rw-r--r--scripts/lib/mic/plugins/imager/loop_plugin.py2
-rw-r--r--scripts/lib/mic/plugins/imager/raw_plugin.py2
7 files changed, 7 insertions, 7 deletions
diff --git a/scripts/lib/mic/creator.py b/scripts/lib/mic/creator.py
index f3d0de19fc..b36bbf064a 100644
--- a/scripts/lib/mic/creator.py
+++ b/scripts/lib/mic/creator.py
@@ -18,7 +18,7 @@
import os, sys, re
from optparse import SUPPRESS_HELP
-from mic import msger, rt_util
+from mic import msger
from mic.utils import cmdln, errors, rpmmisc
from mic.conf import configmgr
from mic.plugin import pluginmgr
diff --git a/scripts/lib/mic/plugins/imager/direct_plugin.py b/scripts/lib/mic/plugins/imager/direct_plugin.py
index 53381e5e01..e015256fa1 100644
--- a/scripts/lib/mic/plugins/imager/direct_plugin.py
+++ b/scripts/lib/mic/plugins/imager/direct_plugin.py
@@ -30,7 +30,7 @@ import shutil
import re
import tempfile
-from mic import chroot, msger, rt_util
+from mic import chroot, msger
from mic.utils import misc, fs_related, errors, runner, cmdln
from mic.conf import configmgr
from mic.plugin import pluginmgr
diff --git a/scripts/lib/mic/plugins/imager/fs_plugin.py b/scripts/lib/mic/plugins/imager/fs_plugin.py
index 8e758db544..6bcaf00729 100644
--- a/scripts/lib/mic/plugins/imager/fs_plugin.py
+++ b/scripts/lib/mic/plugins/imager/fs_plugin.py
@@ -18,7 +18,7 @@
import os
import sys
-from mic import chroot, msger, rt_util
+from mic import chroot, msger
from mic.utils import cmdln, misc, errors, fs_related
from mic.imager import fs
from mic.conf import configmgr
diff --git a/scripts/lib/mic/plugins/imager/livecd_plugin.py b/scripts/lib/mic/plugins/imager/livecd_plugin.py
index d24ef59264..82cb1af7dc 100644
--- a/scripts/lib/mic/plugins/imager/livecd_plugin.py
+++ b/scripts/lib/mic/plugins/imager/livecd_plugin.py
@@ -19,7 +19,7 @@ import os
import shutil
import tempfile
-from mic import chroot, msger, rt_util
+from mic import chroot, msger
from mic.utils import misc, fs_related, errors
from mic.conf import configmgr
import mic.imager.livecd as livecd
diff --git a/scripts/lib/mic/plugins/imager/liveusb_plugin.py b/scripts/lib/mic/plugins/imager/liveusb_plugin.py
index 7aa8927df9..3d53c84410 100644
--- a/scripts/lib/mic/plugins/imager/liveusb_plugin.py
+++ b/scripts/lib/mic/plugins/imager/liveusb_plugin.py
@@ -19,7 +19,7 @@ import os
import shutil
import tempfile
-from mic import chroot, msger, rt_util
+from mic import chroot, msger
from mic.utils import misc, fs_related, errors
from mic.utils.partitionedfs import PartitionedMount
from mic.conf import configmgr
diff --git a/scripts/lib/mic/plugins/imager/loop_plugin.py b/scripts/lib/mic/plugins/imager/loop_plugin.py
index 8f4b030f6b..2a05b3c238 100644
--- a/scripts/lib/mic/plugins/imager/loop_plugin.py
+++ b/scripts/lib/mic/plugins/imager/loop_plugin.py
@@ -19,7 +19,7 @@ import os
import shutil
import tempfile
-from mic import chroot, msger, rt_util
+from mic import chroot, msger
from mic.utils import misc, fs_related, errors, cmdln
from mic.conf import configmgr
from mic.plugin import pluginmgr
diff --git a/scripts/lib/mic/plugins/imager/raw_plugin.py b/scripts/lib/mic/plugins/imager/raw_plugin.py
index 1b9631dfa2..f9625b87e8 100644
--- a/scripts/lib/mic/plugins/imager/raw_plugin.py
+++ b/scripts/lib/mic/plugins/imager/raw_plugin.py
@@ -20,7 +20,7 @@ import shutil
import re
import tempfile
-from mic import chroot, msger, rt_util
+from mic import chroot, msger
from mic.utils import misc, fs_related, errors, runner, cmdln
from mic.conf import configmgr
from mic.plugin import pluginmgr