]> code.ossystems Code Review - openembedded-core.git/commit
wic: direct: move UUID generation to PartitionedImage
authorEd Bartosh <ed.bartosh@linux.intel.com>
Fri, 10 Feb 2017 10:41:15 +0000 (12:41 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Feb 2017 04:06:34 +0000 (20:06 -0800)
commit20c70dd617d4abfff507e210610a58a9989f7c9b
tree22ab55de3ea888da4c206cc5d2c3ef2f262711c6
parent96a26b6ddf22346dafa06b00816579439e98445f
wic: direct: move UUID generation to PartitionedImage

Moved code that generates partition UUIDs from DirectPlugin to
PartitionedImage class as it's more logical to have it there.
This allows the code to be reused by other imager plugins.

Got rid of having yet another list of partitions in PartitionedImage.
Reused the list passed from DirectPlugin.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
scripts/lib/wic/plugins/imager/direct.py