From: Markus Lehtonen Date: Wed, 23 Sep 2015 12:04:29 +0000 (+0300) Subject: devtool: update-recipe: add new patches in correct order X-Git-Tag: 2015-10~231 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=819680092c1b49c16f4ab01d135d44311a9dacca;p=openembedded-core.git 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 --- 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: