summaryrefslogtreecommitdiffstats
path: root/scripts
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:03 +0000
commite59bba5ee21e9065dce86b912996b893f8946535 (patch)
tree1bd82fa54fb8f2c9b61c7590f7c4738f29a69d4c /scripts
parent59d827889dd8b790a7c9323c69565d6bba3041bd (diff)
downloadopenembedded-core-contrib-e59bba5ee21e9065dce86b912996b893f8946535.tar.gz
openembedded-core-contrib-e59bba5ee21e9065dce86b912996b893f8946535.tar.bz2
openembedded-core-contrib-e59bba5ee21e9065dce86b912996b893f8946535.zip
wic: Ensure that sourceparams values can contain '='
This allows '--sourceparams key1=val1=val11,key2=val2'. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-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():
# Split sourceparams string of the form key1=val1[,key2=val2,...]
# into a dict. Also accepts valueless keys i.e. without =
splitted = self.sourceparams.split(',')
- srcparams_dict = dict(par.split('=') for par in splitted if par)
+ srcparams_dict = dict(par.split('=', 1) for par in splitted if par)
plugin = PluginMgr.get_plugins('source')[self.source]
plugin.do_configure_partition(self, srcparams_dict, creator,