Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mail.openembedded.org (Postfix) with ESMTP id 4EA5777011 for ; Thu, 24 Sep 2015 11:53:16 +0000 (UTC) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 24 Sep 2015 04:53:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,580,1437462000"; d="scan'208";a="796374461" Received: from marquiz.fi.intel.com ([10.237.72.155]) by fmsmga001.fm.intel.com with ESMTP; 24 Sep 2015 04:53:15 -0700 From: Markus Lehtonen To: openembedded-core@lists.openembedded.org Date: Thu, 24 Sep 2015 14:53:03 +0300 Message-Id: <1443095587-13852-7-git-send-email-markus.lehtonen@linux.intel.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1443095587-13852-1-git-send-email-markus.lehtonen@linux.intel.com> References: <1443095587-13852-1-git-send-email-markus.lehtonen@linux.intel.com> Cc: Paul Eggleton Subject: [PATCH v3 06/10] devtool: update-recipe: add new patches in correct order X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 11:53:16 -0000 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(-) 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