summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic
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:58:44 +0100
commit8d747c8b438ea7cf24e924a537bf76e8bbc8445e (patch)
tree209bfc47ef02860ae470b9c5a94a7efa3f98e3ad /scripts/lib/wic
parente6a523286ee6ad4bfc21d76c0136ea1e9428cf24 (diff)
downloadpoky-8d747c8b438ea7cf24e924a537bf76e8bbc8445e.tar.gz
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] (From OE-Core rev: 4f195a5b7574ebff8fbdb3045daa71f173f97a30) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic')
-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):
57 self.size = args.size 57 self.size = args.size
58 self.source = args.source 58 self.source = args.source
59 self.sourceparams = args.sourceparams 59 self.sourceparams = args.sourceparams
60 self.system_id = args.system_id
60 self.use_uuid = args.use_uuid 61 self.use_uuid = args.use_uuid
61 self.uuid = args.uuid 62 self.uuid = args.uuid
62 if args.use_uuid and not self.uuid: 63 if args.use_uuid and not self.uuid: