diff options
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/wic/conf.py | 3 | ||||
-rw-r--r-- | scripts/lib/wic/creator.py | 2 | ||||
-rw-r--r-- | scripts/lib/wic/imager/baseimager.py | 2 | ||||
-rw-r--r-- | scripts/lib/wic/imager/direct.py | 1 | ||||
-rw-r--r-- | scripts/lib/wic/kickstart/custom_commands/partition.py | 1 | ||||
-rw-r--r-- | scripts/lib/wic/pluginbase.py | 2 | ||||
-rw-r--r-- | scripts/lib/wic/plugins/imager/direct_plugin.py | 5 | ||||
-rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-efi.py | 2 | ||||
-rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-pcbios.py | 3 | ||||
-rw-r--r-- | scripts/lib/wic/plugins/source/fsimage.py | 1 | ||||
-rw-r--r-- | scripts/lib/wic/plugins/source/rawcopy.py | 1 | ||||
-rw-r--r-- | scripts/lib/wic/plugins/source/rootfs.py | 3 | ||||
-rw-r--r-- | scripts/lib/wic/utils/fs_related.py | 6 | ||||
-rw-r--r-- | scripts/lib/wic/utils/misc.py | 1 | ||||
-rw-r--r-- | scripts/lib/wic/utils/partitionedfs.py | 2 |
15 files changed, 3 insertions, 32 deletions
diff --git a/scripts/lib/wic/conf.py b/scripts/lib/wic/conf.py index be34355ce4..ff6e2ca0f0 100644 --- a/scripts/lib/wic/conf.py +++ b/scripts/lib/wic/conf.py | |||
@@ -15,8 +15,7 @@ | |||
15 | # with this program; if not, write to the Free Software Foundation, Inc., 59 | 15 | # with this program; if not, write to the Free Software Foundation, Inc., 59 |
16 | # Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 16 | # Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
17 | 17 | ||
18 | import os, sys, re | 18 | import os |
19 | import ConfigParser | ||
20 | 19 | ||
21 | from wic import msger | 20 | from wic import msger |
22 | from wic import kickstart | 21 | from wic import kickstart |
diff --git a/scripts/lib/wic/creator.py b/scripts/lib/wic/creator.py index 2219377b38..760848f320 100644 --- a/scripts/lib/wic/creator.py +++ b/scripts/lib/wic/creator.py | |||
@@ -15,7 +15,7 @@ | |||
15 | # with this program; if not, write to the Free Software Foundation, Inc., 59 | 15 | # with this program; if not, write to the Free Software Foundation, Inc., 59 |
16 | # Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 16 | # Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
17 | 17 | ||
18 | import os, sys, re | 18 | import os, sys |
19 | from optparse import SUPPRESS_HELP | 19 | from optparse import SUPPRESS_HELP |
20 | 20 | ||
21 | from wic import msger | 21 | from wic import msger |
diff --git a/scripts/lib/wic/imager/baseimager.py b/scripts/lib/wic/imager/baseimager.py index e8305272a2..2075358bdc 100644 --- a/scripts/lib/wic/imager/baseimager.py +++ b/scripts/lib/wic/imager/baseimager.py | |||
@@ -17,7 +17,7 @@ | |||
17 | # Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 | # Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 | 18 | ||
19 | from __future__ import with_statement | 19 | from __future__ import with_statement |
20 | import os, sys | 20 | import os |
21 | import tempfile | 21 | import tempfile |
22 | import shutil | 22 | import shutil |
23 | 23 | ||
diff --git a/scripts/lib/wic/imager/direct.py b/scripts/lib/wic/imager/direct.py index d368401af4..b236c7a7d0 100644 --- a/scripts/lib/wic/imager/direct.py +++ b/scripts/lib/wic/imager/direct.py | |||
@@ -25,7 +25,6 @@ | |||
25 | # | 25 | # |
26 | 26 | ||
27 | import os | 27 | import os |
28 | import stat | ||
29 | import shutil | 28 | import shutil |
30 | 29 | ||
31 | from wic import kickstart, msger | 30 | from wic import kickstart, msger |
diff --git a/scripts/lib/wic/kickstart/custom_commands/partition.py b/scripts/lib/wic/kickstart/custom_commands/partition.py index f3d553b885..ff906010b8 100644 --- a/scripts/lib/wic/kickstart/custom_commands/partition.py +++ b/scripts/lib/wic/kickstart/custom_commands/partition.py | |||
@@ -24,7 +24,6 @@ | |||
24 | # Tom Zanussi <tom.zanussi (at] linux.intel.com> | 24 | # Tom Zanussi <tom.zanussi (at] linux.intel.com> |
25 | # | 25 | # |
26 | 26 | ||
27 | import shutil | ||
28 | import os | 27 | import os |
29 | import tempfile | 28 | import tempfile |
30 | 29 | ||
diff --git a/scripts/lib/wic/pluginbase.py b/scripts/lib/wic/pluginbase.py index e3de9bacb8..72bcad2b7a 100644 --- a/scripts/lib/wic/pluginbase.py +++ b/scripts/lib/wic/pluginbase.py | |||
@@ -15,8 +15,6 @@ | |||
15 | # with this program; if not, write to the Free Software Foundation, Inc., 59 | 15 | # with this program; if not, write to the Free Software Foundation, Inc., 59 |
16 | # Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 16 | # Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
17 | 17 | ||
18 | import os | ||
19 | import shutil | ||
20 | from wic import msger | 18 | from wic import msger |
21 | from wic.utils import errors | 19 | from wic.utils import errors |
22 | 20 | ||
diff --git a/scripts/lib/wic/plugins/imager/direct_plugin.py b/scripts/lib/wic/plugins/imager/direct_plugin.py index 5601c3f1c9..17888e971c 100644 --- a/scripts/lib/wic/plugins/imager/direct_plugin.py +++ b/scripts/lib/wic/plugins/imager/direct_plugin.py | |||
@@ -24,11 +24,6 @@ | |||
24 | # Tom Zanussi <tom.zanussi (at] linux.intel.com> | 24 | # Tom Zanussi <tom.zanussi (at] linux.intel.com> |
25 | # | 25 | # |
26 | 26 | ||
27 | import os | ||
28 | import shutil | ||
29 | import re | ||
30 | import tempfile | ||
31 | |||
32 | from wic import msger | 27 | from wic import msger |
33 | from wic.utils import misc, fs_related, errors, runner, cmdln | 28 | from wic.utils import misc, fs_related, errors, runner, cmdln |
34 | from wic.conf import configmgr | 29 | from wic.conf import configmgr |
diff --git a/scripts/lib/wic/plugins/source/bootimg-efi.py b/scripts/lib/wic/plugins/source/bootimg-efi.py index ee57881e90..d6c11ed428 100644 --- a/scripts/lib/wic/plugins/source/bootimg-efi.py +++ b/scripts/lib/wic/plugins/source/bootimg-efi.py | |||
@@ -26,8 +26,6 @@ | |||
26 | 26 | ||
27 | import os | 27 | import os |
28 | import shutil | 28 | import shutil |
29 | import re | ||
30 | import tempfile | ||
31 | 29 | ||
32 | from wic import kickstart, msger | 30 | from wic import kickstart, msger |
33 | from wic.utils import misc, fs_related, errors, runner, cmdln | 31 | from wic.utils import misc, fs_related, errors, runner, cmdln |
diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py b/scripts/lib/wic/plugins/source/bootimg-pcbios.py index c4786a6e0e..abb32ebc10 100644 --- a/scripts/lib/wic/plugins/source/bootimg-pcbios.py +++ b/scripts/lib/wic/plugins/source/bootimg-pcbios.py | |||
@@ -25,9 +25,6 @@ | |||
25 | # | 25 | # |
26 | 26 | ||
27 | import os | 27 | import os |
28 | import shutil | ||
29 | import re | ||
30 | import tempfile | ||
31 | 28 | ||
32 | from wic import kickstart, msger | 29 | from wic import kickstart, msger |
33 | from wic.utils import misc, fs_related, errors, runner, cmdln | 30 | from wic.utils import misc, fs_related, errors, runner, cmdln |
diff --git a/scripts/lib/wic/plugins/source/fsimage.py b/scripts/lib/wic/plugins/source/fsimage.py index 0967883afa..4a090bac42 100644 --- a/scripts/lib/wic/plugins/source/fsimage.py +++ b/scripts/lib/wic/plugins/source/fsimage.py | |||
@@ -16,7 +16,6 @@ | |||
16 | # | 16 | # |
17 | 17 | ||
18 | import os | 18 | import os |
19 | import re | ||
20 | 19 | ||
21 | from wic import msger | 20 | from wic import msger |
22 | from wic.pluginbase import SourcePlugin | 21 | from wic.pluginbase import SourcePlugin |
diff --git a/scripts/lib/wic/plugins/source/rawcopy.py b/scripts/lib/wic/plugins/source/rawcopy.py index cf6236a04f..6bdd9b21ce 100644 --- a/scripts/lib/wic/plugins/source/rawcopy.py +++ b/scripts/lib/wic/plugins/source/rawcopy.py | |||
@@ -16,7 +16,6 @@ | |||
16 | # | 16 | # |
17 | 17 | ||
18 | import os | 18 | import os |
19 | import re | ||
20 | 19 | ||
21 | from wic import msger | 20 | from wic import msger |
22 | from wic.pluginbase import SourcePlugin | 21 | from wic.pluginbase import SourcePlugin |
diff --git a/scripts/lib/wic/plugins/source/rootfs.py b/scripts/lib/wic/plugins/source/rootfs.py index a432a18705..6f5d9bb19f 100644 --- a/scripts/lib/wic/plugins/source/rootfs.py +++ b/scripts/lib/wic/plugins/source/rootfs.py | |||
@@ -26,9 +26,6 @@ | |||
26 | # | 26 | # |
27 | 27 | ||
28 | import os | 28 | import os |
29 | import shutil | ||
30 | import re | ||
31 | import tempfile | ||
32 | 29 | ||
33 | from wic import kickstart, msger | 30 | from wic import kickstart, msger |
34 | from wic.utils import misc, fs_related, errors, runner, cmdln | 31 | from wic.utils import misc, fs_related, errors, runner, cmdln |
diff --git a/scripts/lib/wic/utils/fs_related.py b/scripts/lib/wic/utils/fs_related.py index ea9f85c60f..1e266b16c1 100644 --- a/scripts/lib/wic/utils/fs_related.py +++ b/scripts/lib/wic/utils/fs_related.py | |||
@@ -18,13 +18,7 @@ | |||
18 | 18 | ||
19 | from __future__ import with_statement | 19 | from __future__ import with_statement |
20 | import os | 20 | import os |
21 | import sys | ||
22 | import errno | 21 | import errno |
23 | import stat | ||
24 | import random | ||
25 | import string | ||
26 | import time | ||
27 | import uuid | ||
28 | 22 | ||
29 | from wic import msger | 23 | from wic import msger |
30 | from wic.utils import runner | 24 | from wic.utils import runner |
diff --git a/scripts/lib/wic/utils/misc.py b/scripts/lib/wic/utils/misc.py index 6e56316608..5d6337c9cf 100644 --- a/scripts/lib/wic/utils/misc.py +++ b/scripts/lib/wic/utils/misc.py | |||
@@ -16,7 +16,6 @@ | |||
16 | # Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 16 | # Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
17 | 17 | ||
18 | import os | 18 | import os |
19 | import sys | ||
20 | import time | 19 | import time |
21 | 20 | ||
22 | def build_name(kscfg, release=None, prefix = None, suffix = None): | 21 | def build_name(kscfg, release=None, prefix = None, suffix = None): |
diff --git a/scripts/lib/wic/utils/partitionedfs.py b/scripts/lib/wic/utils/partitionedfs.py index 162f8e1b9c..2d74b6b67c 100644 --- a/scripts/lib/wic/utils/partitionedfs.py +++ b/scripts/lib/wic/utils/partitionedfs.py | |||
@@ -18,8 +18,6 @@ | |||
18 | # with this program; if not, write to the Free Software Foundation, Inc., 59 | 18 | # with this program; if not, write to the Free Software Foundation, Inc., 59 |
19 | # Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 19 | # Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
20 | 20 | ||
21 | import os | ||
22 | |||
23 | from wic import msger | 21 | from wic import msger |
24 | from wic.utils import runner | 22 | from wic.utils import runner |
25 | from wic.utils.errors import ImageError | 23 | from wic.utils.errors import ImageError |