When adding multiple new patches append them to SRC_URI in correct order
so that they apply correctly.

Signed-off-by: Markus Lehtonen <markus.lehto...@linux.intel.com>
---
 scripts/lib/devtool/standard.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 96b271c..1154030 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:
-- 
2.1.4

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to