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 dcb6bf9540..b944ec3966 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -1520,17 +1520,17 @@ def _update_recipe_patch(recipename, workspace, srctree, rd, appendlayerdir, wil | |||
1520 | patches_dir, changed_revs) | 1520 | patches_dir, changed_revs) |
1521 | logger.debug('Pre-filtering: update: %s, new: %s' % (dict(upd_p), dict(new_p))) | 1521 | logger.debug('Pre-filtering: update: %s, new: %s' % (dict(upd_p), dict(new_p))) |
1522 | if filter_patches: | 1522 | if filter_patches: |
1523 | new_p = {} | 1523 | new_p = OrderedDict() |
1524 | upd_p = {k:v for k,v in upd_p.items() if k in filter_patches} | 1524 | upd_p = OrderedDict((k,v) for k,v in upd_p.items() if k in filter_patches) |
1525 | remove_files = [f for f in remove_files if f in filter_patches] | 1525 | remove_files = [f for f in remove_files if f in filter_patches] |
1526 | updatefiles = False | 1526 | updatefiles = False |
1527 | updaterecipe = False | 1527 | updaterecipe = False |
1528 | destpath = None | 1528 | destpath = None |
1529 | srcuri = (rd.getVar('SRC_URI', False) or '').split() | 1529 | srcuri = (rd.getVar('SRC_URI', False) or '').split() |
1530 | if appendlayerdir: | 1530 | if appendlayerdir: |
1531 | files = dict((os.path.join(local_files_dir, key), val) for | 1531 | files = OrderedDict((os.path.join(local_files_dir, key), val) for |
1532 | key, val in list(upd_f.items()) + list(new_f.items())) | 1532 | key, val in list(upd_f.items()) + list(new_f.items())) |
1533 | files.update(dict((os.path.join(patches_dir, key), val) for | 1533 | files.update(OrderedDict((os.path.join(patches_dir, key), val) for |
1534 | key, val in list(upd_p.items()) + list(new_p.items()))) | 1534 | key, val in list(upd_p.items()) + list(new_p.items()))) |
1535 | if files or remove_files: | 1535 | if files or remove_files: |
1536 | removevalues = None | 1536 | removevalues = None |