diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-02-09 15:52:55 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 20:06:33 -0800 |
commit | 4dc9dbfc7fbc16d349a019e8973d50905cd28244 (patch) | |
tree | 8a24d47f4b1b476dae4765748f57e5d8666eb2e5 /meta/classes/core-image.bbclass | |
parent | c826233ad08ee5a4b9943a05d4e73f3fb3281588 (diff) | |
download | openembedded-core-4dc9dbfc7fbc16d349a019e8973d50905cd28244.tar.gz openembedded-core-4dc9dbfc7fbc16d349a019e8973d50905cd28244.tar.bz2 openembedded-core-4dc9dbfc7fbc16d349a019e8973d50905cd28244.zip |
wic: move disk operations to PartitionImage class
Disk operations were spread over DirectPlugin, DiskImage and Image
code making the code hard to understand.
Renamed Image class to PartitionedImage.
Removed DiskImage class.
Moved disk operations to PartitionedImage.
There was an implicit support for multiple disks: if different devices
were specified in .wks file (e.g. --ondisk sda and --ondisk sdb), wic
would theoretically generate multiple images. This is quite confusing
option and the code supporting it was broken for a long time. The same
effect (multiple output images) can be achieved in obvious and clear
way - by using multiple .wks files.
This functionality was removed. PartitionedImage works only with
one image. This makes the code less complex and easier to maintain.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Diffstat (limited to 'meta/classes/core-image.bbclass')
0 files changed, 0 insertions, 0 deletions