From 819680092c1b49c16f4ab01d135d44311a9dacca Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Wed, 23 Sep 2015 15:04:29 +0300 Subject: 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 --- scripts/lib/devtool/standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/lib/devtool/standard.py') 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: -- cgit 1.2.3-korg