summaryrefslogtreecommitdiffstats
path: root/scripts
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-09-29 15:15:47 +0100
commit819680092c1b49c16f4ab01d135d44311a9dacca (patch)
treee4e919133dfb89afa25591c10c7de83e0944a844 /scripts
parent4e5eea06a77eca7311209b0b650e79e816713ab9 (diff)
downloadopenembedded-core-819680092c1b49c16f4ab01d135d44311a9dacca.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. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'scripts')
-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: