summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/plugins')
-rw-r--r--scripts/lib/wic/plugins/source/bootimg-partition.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-partition.py b/scripts/lib/wic/plugins/source/bootimg-partition.py
index abf24942e8..564118ad8b 100644
--- a/scripts/lib/wic/plugins/source/bootimg-partition.py
+++ b/scripts/lib/wic/plugins/source/bootimg-partition.py
@@ -90,6 +90,8 @@ class BootimgPartitionPlugin(SourcePlugin):
90 for src_entry in re.findall(r'[\w;\-\./]+', boot_files): 90 for src_entry in re.findall(r'[\w;\-\./]+', boot_files):
91 if ';' in src_entry: 91 if ';' in src_entry:
92 dst_entry = tuple(src_entry.split(';')) 92 dst_entry = tuple(src_entry.split(';'))
93 if not dst_entry[0] or not dst_entry[1]:
94 msger.error('Malformed boot file entry: %s' % (src_entry))
93 else: 95 else:
94 dst_entry = (src_entry, src_entry) 96 dst_entry = (src_entry, src_entry)
95 97