summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/wic/conf.py4
-rw-r--r--scripts/lib/wic/imager/direct.py2
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
18import os 18import os
19 19
20from wic.kickstart import KickStart
20from wic import msger 21from wic import msger
21from wic import kickstart
22from wic.utils import misc 22from 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 @@
27import os 27import os
28import shutil 28import shutil
29 29
30from wic import kickstart, msger 30from wic import msger
31from wic.utils import fs_related 31from wic.utils import fs_related
32from wic.utils.oe.misc import get_bitbake_var 32from wic.utils.oe.misc import get_bitbake_var
33from wic.utils.partitionedfs import Image 33from wic.utils.partitionedfs import Image