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:44 -0800 |
commit | adf5e2956ca4e3136be0ee785115a7e1941a135b (patch) | |
tree | f15fb103786bbf8437fee80c89956bbe5be60e02 /scripts/combo-layer.conf.example | |
parent | 47ee6c2153db204a9fda718b92616d4bf851057e (diff) | |
download | poky-adf5e2956ca4e3136be0ee785115a7e1941a135b.tar.gz |
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.
(From OE-Core rev: 4dc9dbfc7fbc16d349a019e8973d50905cd28244)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/combo-layer.conf.example')
0 files changed, 0 insertions, 0 deletions