diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-01-14 14:12:59 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-18 11:47:06 +0000 |
commit | af8b00556e09253dac3cf75934e7719268abe198 (patch) | |
tree | 87818bd59c6ae5a13df88fdbb7a66079a0b23eda /scripts/lib/wic/imager | |
parent | 2573e285d01106deaedea648f7c7566020721be7 (diff) | |
download | poky-af8b00556e09253dac3cf75934e7719268abe198.tar.gz |
wic: get rid of 2 getters
Used partitions and configfile bootloader attributes instead of
using getters get_bootloader_file and get_partitions.
(From OE-Core rev: d34dd190e1da00ca8c9b2cb0adba15b9f0de2920)
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')
-rw-r--r-- | scripts/lib/wic/imager/direct.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/imager/direct.py b/scripts/lib/wic/imager/direct.py index 09ff5f828d..8d4daece0d 100644 --- a/scripts/lib/wic/imager/direct.py +++ b/scripts/lib/wic/imager/direct.py | |||
@@ -159,7 +159,7 @@ class DirectImageCreator(BaseImageCreator): | |||
159 | self.ks.partitions.append(part) | 159 | self.ks.partitions.append(part) |
160 | 160 | ||
161 | # partitions list from kickstart file | 161 | # partitions list from kickstart file |
162 | return kickstart.get_partitions(self.ks) | 162 | return self.ks.partitions |
163 | 163 | ||
164 | def get_disk_names(self): | 164 | def get_disk_names(self): |
165 | """ Returns a list of physical target disk names (e.g., 'sdb') which | 165 | """ Returns a list of physical target disk names (e.g., 'sdb') which |