aboutsummaryrefslogtreecommitdiffstats
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)
downloadopenembedded-core-contrib-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):
updatepatches = False
updaterecipe = False
destpath = None
- newpatches = os.listdir(tempdir)
+ newpatches = sorted(os.listdir(tempdir))
if args.append:
patchfiles = {}
for patch in existing_patches: