summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/conf.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-01-14 14:12:53 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-18 11:47:05 +0000
commitc15ea825e735b14dcf38ddf44a0a4aa7db611144 (patch)
tree3cebe2d0004d2eff6297c72e67e4260b7a3a578a /scripts/lib/wic/conf.py
parentf572f442146e3a36ac1f6994d561afaebc2d9092 (diff)
downloadpoky-c15ea825e735b14dcf38ddf44a0a4aa7db611144.tar.gz
wic: use new kickstart parser
Used KickStart parser class instead of pykickstart API. This commit breaks wic as data structures and field names provided by new API are a bit different from old ones. This issue will be addressed in the following commits. (From OE-Core rev: f72439d321220b724bfe2b4a92fed46c2c19fb3f) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/conf.py')
-rw-r--r--scripts/lib/wic/conf.py4
1 files changed, 2 insertions, 2 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]