diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-01-14 14:12:55 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-18 11:47:05 +0000 |
commit | 26fb2a1a45049fd5731ae83efb962a84afb14568 (patch) | |
tree | 13f27e849210b55e1b540c902da63cb325bfb574 /scripts/lib/wic/imager/baseimager.py | |
parent | c8272380ceed8dd56237995eecbaca5f4c9645dd (diff) | |
download | poky-26fb2a1a45049fd5731ae83efb962a84afb14568.tar.gz |
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>
Diffstat (limited to 'scripts/lib/wic/imager/baseimager.py')
-rw-r--r-- | scripts/lib/wic/imager/baseimager.py | 2 |
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): | |||
85 | # No ks provided when called by convertor, so skip the dependency check | 85 | # No ks provided when called by convertor, so skip the dependency check |
86 | if self.ks: | 86 | if self.ks: |
87 | # If we have btrfs partition we need to check necessary tools | 87 | # If we have btrfs partition we need to check necessary tools |
88 | for part in self.ks.handler.partition.partitions: | 88 | for part in self.ks.partitions: |
89 | if part.fstype and part.fstype == "btrfs": | 89 | if part.fstype and part.fstype == "btrfs": |
90 | self._dep_checks.append("mkfs.btrfs") | 90 | self._dep_checks.append("mkfs.btrfs") |
91 | break | 91 | break |