summaryrefslogtreecommitdiff
path: root/scripts/lib/wic/imager/baseimager.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-01-14 14:12:55 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-17 11:32:19 +0000
commitb46da0731e3f7016d0ab2a67967f07c7e199f219 (patch)
treee4ffe35d338e1eb9d879c748e7db1ba1aa42d2eb /scripts/lib/wic/imager/baseimager.py
parent30bb1f3b6b832f9be691350581458c5fdaaaad70 (diff)
downloadopenembedded-core-b46da0731e3f7016d0ab2a67967f07c7e199f219.tar.gz
openembedded-core-b46da0731e3f7016d0ab2a67967f07c7e199f219.tar.bz2
openembedded-core-b46da0731e3f7016d0ab2a67967f07c7e199f219.zip
wic: adjust code for new data structure
New data structure is less nested than old one. Adjusted bootloader and partitions fields: self.ks.handler.bootloader -> self.ks.bootoader self.ks.handler.partitions -> self.ks.partitions 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/imager/baseimager.py')
-rw-r--r--scripts/lib/wic/imager/baseimager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/imager/baseimager.py b/scripts/lib/wic/imager/baseimager.py
index acbe948584..760cf8a58a 100644
--- a/scripts/lib/wic/imager/baseimager.py
+++ b/scripts/lib/wic/imager/baseimager.py
@@ -85,7 +85,7 @@ class BaseImageCreator(object):
# No ks provided when called by convertor, so skip the dependency check
if self.ks:
# If we have btrfs partition we need to check necessary tools
- for part in self.ks.handler.partition.partitions:
+ for part in self.ks.partitions:
if part.fstype and part.fstype == "btrfs":
self._dep_checks.append("mkfs.btrfs")
break