summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-04-22 12:32:01 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-29 07:53:57 +0100
commit4f195a5b7574ebff8fbdb3045daa71f173f97a30 (patch)
tree704283ac344fcbc14b4299cd62840e4aa9d31fc0
parent398aafa185acbc7239505f7107735e93a502f6d2 (diff)
downloadopenembedded-core-4f195a5b7574ebff8fbdb3045daa71f173f97a30.tar.gz
openembedded-core-4f195a5b7574ebff8fbdb3045daa71f173f97a30.tar.bz2
openembedded-core-4f195a5b7574ebff8fbdb3045daa71f173f97a30.zip
wic: add system_id attribute to Partition
Added Partition.system_id attribute and initialized it from parse result of wks option --system-id. It will be used by the wic code below the call stack to set partition system id. [YOCTO #9096] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--scripts/lib/wic/partition.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py
index f40d1bc8b6..227b685137 100644
--- a/scripts/lib/wic/partition.py
+++ b/scripts/lib/wic/partition.py
@@ -57,6 +57,7 @@ class Partition(object):
self.size = args.size
self.source = args.source
self.sourceparams = args.sourceparams
+ self.system_id = args.system_id
self.use_uuid = args.use_uuid
self.uuid = args.uuid
if args.use_uuid and not self.uuid: