diff options
-rw-r--r-- | scripts/lib/devtool/standard.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 9eeaefb79c..64fa420bf1 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -1619,17 +1619,17 @@ def _update_recipe_patch(recipename, workspace, srctree, rd, appendlayerdir, wil | |||
1619 | patches_dir, changed_revs) | 1619 | patches_dir, changed_revs) |
1620 | logger.debug('Pre-filtering: update: %s, new: %s' % (dict(upd_p), dict(new_p))) | 1620 | logger.debug('Pre-filtering: update: %s, new: %s' % (dict(upd_p), dict(new_p))) |
1621 | if filter_patches: | 1621 | if filter_patches: |
1622 | new_p = {} | 1622 | new_p = OrderedDict() |
1623 | upd_p = {k:v for k,v in upd_p.items() if k in filter_patches} | 1623 | upd_p = OrderedDict((k,v) for k,v in upd_p.items() if k in filter_patches) |
1624 | remove_files = [f for f in remove_files if f in filter_patches] | 1624 | remove_files = [f for f in remove_files if f in filter_patches] |
1625 | updatefiles = False | 1625 | updatefiles = False |
1626 | updaterecipe = False | 1626 | updaterecipe = False |
1627 | destpath = None | 1627 | destpath = None |
1628 | srcuri = (rd.getVar('SRC_URI', False) or '').split() | 1628 | srcuri = (rd.getVar('SRC_URI', False) or '').split() |
1629 | if appendlayerdir: | 1629 | if appendlayerdir: |
1630 | files = dict((os.path.join(local_files_dir, key), val) for | 1630 | files = OrderedDict((os.path.join(local_files_dir, key), val) for |
1631 | key, val in list(upd_f.items()) + list(new_f.items())) | 1631 | key, val in list(upd_f.items()) + list(new_f.items())) |
1632 | files.update(dict((os.path.join(patches_dir, key), val) for | 1632 | files.update(OrderedDict((os.path.join(patches_dir, key), val) for |
1633 | key, val in list(upd_p.items()) + list(new_p.items()))) | 1633 | key, val in list(upd_p.items()) + list(new_p.items()))) |
1634 | if files or remove_files: | 1634 | if files or remove_files: |
1635 | removevalues = None | 1635 | removevalues = None |