summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2019-02-28 09:47:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-28 17:47:10 +0000
commit94ba79aa4d02658aca21c27e028529b4b0b8a9ca (patch)
tree3f52a57582e473230fd579333f2b1fa0c426f07b /scripts/lib
parent21b3b83a330a58e1f80245c6c23159018777119b (diff)
downloadpoky-94ba79aa4d02658aca21c27e028529b4b0b8a9ca.tar.gz
wic: Ensure that sourceparams values can contain '='
This allows '--sourceparams key1=val1=val11,key2=val2'. (From OE-Core rev: e59bba5ee21e9065dce86b912996b893f8946535) Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/wic/partition.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py
index 3da7e23e61..ca206ece02 100644
--- a/scripts/lib/wic/partition.py
+++ b/scripts/lib/wic/partition.py
@@ -173,7 +173,7 @@ class Partition():
173 # Split sourceparams string of the form key1=val1[,key2=val2,...] 173 # Split sourceparams string of the form key1=val1[,key2=val2,...]
174 # into a dict. Also accepts valueless keys i.e. without = 174 # into a dict. Also accepts valueless keys i.e. without =
175 splitted = self.sourceparams.split(',') 175 splitted = self.sourceparams.split(',')
176 srcparams_dict = dict(par.split('=') for par in splitted if par) 176 srcparams_dict = dict(par.split('=', 1) for par in splitted if par)
177 177
178 plugin = PluginMgr.get_plugins('source')[self.source] 178 plugin = PluginMgr.get_plugins('source')[self.source]
179 plugin.do_configure_partition(self, srcparams_dict, creator, 179 plugin.do_configure_partition(self, srcparams_dict, creator,