summaryrefslogtreecommitdiff
path: root/scripts/lib/wic/imager
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-06-05 10:17:12 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-11 23:55:39 +0100
commite4bc71fa78b0d7a60aa85b8eb09a053545b61b84 (patch)
tree08c4354fecd389b22032578c0ec5e6db109c262d /scripts/lib/wic/imager
parent4a303007149ea1205bbd454e70810e7dfa343d4c (diff)
downloadopenembedded-core-e4bc71fa78b0d7a60aa85b8eb09a053545b61b84.tar.gz
openembedded-core-e4bc71fa78b0d7a60aa85b8eb09a053545b61b84.tar.bz2
openembedded-core-e4bc71fa78b0d7a60aa85b8eb09a053545b61b84.zip
wic: Add parameter 'uuid' to Image.add_partition method
With this parameter it's possible to pass generated UUID into Image class to set it for partition when it's created. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/wic/imager')
-rw-r--r--scripts/lib/wic/imager/direct.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/wic/imager/direct.py b/scripts/lib/wic/imager/direct.py
index 36150c9ad3..2290ecd07d 100644
--- a/scripts/lib/wic/imager/direct.py
+++ b/scripts/lib/wic/imager/direct.py
@@ -272,7 +272,8 @@ class DirectImageCreator(BaseImageCreator):
boot=p.active,
align=p.align,
no_table=p.no_table,
- part_type=p.part_type)
+ part_type=p.part_type,
+ uuid=p.uuid)
self._restore_fstab(fstab)