aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2013-10-22 09:23:57 -0500
committerRobert Yang <liezhi.yang@windriver.com>2013-12-10 21:12:19 -0500
commit898285fbe172e0e77f0986be8f5187f86bfca95b (patch)
treec8cb05d53d6122c3e6639516c804e54e4be8f93d /scripts
parentf338d696b7f865bdb10020f806c69c78e8ed6625 (diff)
downloadopenembedded-core-contrib-898285fbe172e0e77f0986be8f5187f86bfca95b.tar.gz
wic: eliminate module checks
We're removing all external dependencies including rpm and urlgrabber, so we don't need this check. (From OE-Core master rev: 429c0d72b9b8bfed34832e283be92996e074b9ac) 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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/wic10
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/wic b/scripts/wic
index 08473d3df4..b6fd16c5df 100755
--- a/scripts/wic
+++ b/scripts/wic
@@ -38,16 +38,6 @@ import optparse
import logging
# External modules
-try:
- import rpm
- import urlgrabber
-except ImportError:
- print("ERROR: failed to import necessary modules.")
- print("Please ensure the following modules are installed:")
- print("\trpm");
- print("\turlgrabber");
- sys.exit(1)
-
scripts_path = os.path.abspath(os.path.dirname(os.path.abspath(sys.argv[0])))
lib_path = scripts_path + '/lib'
sys.path = sys.path + [lib_path]