diff options
Diffstat (limited to 'scripts/lib/wic')
-rw-r--r-- | scripts/lib/wic/conf.py | 4 | ||||
-rw-r--r-- | scripts/lib/wic/imager/direct.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/lib/wic/conf.py b/scripts/lib/wic/conf.py index 1d4363a526..2e2945130c 100644 --- a/scripts/lib/wic/conf.py +++ b/scripts/lib/wic/conf.py | |||
@@ -17,8 +17,8 @@ | |||
17 | 17 | ||
18 | import os | 18 | import os |
19 | 19 | ||
20 | from wic.kickstart import KickStart | ||
20 | from wic import msger | 21 | from wic import msger |
21 | from wic import kickstart | ||
22 | from wic.utils import misc | 22 | from wic.utils import misc |
23 | 23 | ||
24 | 24 | ||
@@ -87,7 +87,7 @@ class ConfigMgr(object): | |||
87 | if not ksconf: | 87 | if not ksconf: |
88 | return | 88 | return |
89 | 89 | ||
90 | ksobj = kickstart.read_kickstart(ksconf) | 90 | ksobj = KickStart(ksconf) |
91 | 91 | ||
92 | self.create['ks'] = ksobj | 92 | self.create['ks'] = ksobj |
93 | self.create['name'] = os.path.splitext(os.path.basename(ksconf))[0] | 93 | self.create['name'] = os.path.splitext(os.path.basename(ksconf))[0] |
diff --git a/scripts/lib/wic/imager/direct.py b/scripts/lib/wic/imager/direct.py index d5603fa915..f89c42cfb7 100644 --- a/scripts/lib/wic/imager/direct.py +++ b/scripts/lib/wic/imager/direct.py | |||
@@ -27,7 +27,7 @@ | |||
27 | import os | 27 | import os |
28 | import shutil | 28 | import shutil |
29 | 29 | ||
30 | from wic import kickstart, msger | 30 | from wic import msger |
31 | from wic.utils import fs_related | 31 | from wic.utils import fs_related |
32 | from wic.utils.oe.misc import get_bitbake_var | 32 | from wic.utils.oe.misc import get_bitbake_var |
33 | from wic.utils.partitionedfs import Image | 33 | from wic.utils.partitionedfs import Image |