mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 12:49:34 +02:00
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 (From OE-Core rev: b46da0731e3f7016d0ab2a67967f07c7e199f219) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c8272380ce
commit
26fb2a1a45
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user