summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-09-23 15:04:29 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-01 07:43:31 +0100
commitc976028529dfef9cd38a62a7b4189ece0ebe17ee (patch)
tree2b34251e5e5e93e3270895863fa4989346f8294b
parent2f8440b9aeedefc8d2bb789a7ad42e8a1ed55716 (diff)
downloadpoky-c976028529dfef9cd38a62a7b4189ece0ebe17ee.tar.gz
devtool: update-recipe: add new patches in correct order
When adding multiple new patches append them to SRC_URI in correct order so that they apply correctly. (From OE-Core rev: 819680092c1b49c16f4ab01d135d44311a9dacca) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--scripts/lib/devtool/standard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 1dcf7cdf07..01d7b8cf81 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -701,7 +701,7 @@ def _update_recipe_patch(args, config, srctree, rd, config_data):
701 updatepatches = False 701 updatepatches = False
702 updaterecipe = False 702 updaterecipe = False
703 destpath = None 703 destpath = None
704 newpatches = os.listdir(tempdir) 704 newpatches = sorted(os.listdir(tempdir))
705 if args.append: 705 if args.append:
706 patchfiles = {} 706 patchfiles = {}
707 for patch in existing_patches: 707 for patch in existing_patches: