diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2013-10-22 09:23:57 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-23 07:14:10 +0100 |
commit | db034f07bfc47d930e68f967e0fb1f4516aae889 (patch) | |
tree | ca4a48a62ced681d636d0124699951358604663b | |
parent | ce2dabd393587a69ac9b5b01159186619041b6bc (diff) | |
download | ast2050-yocto-poky-db034f07bfc47d930e68f967e0fb1f4516aae889.zip ast2050-yocto-poky-db034f07bfc47d930e68f967e0fb1f4516aae889.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 rev: 429c0d72b9b8bfed34832e283be92996e074b9ac)
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | scripts/wic | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/wic b/scripts/wic index 08473d3..b6fd16c 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] |