From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Boibessot Date: Tue, 13 Mar 2012 14:05:40 +0100 Subject: [Buildroot] [PATCH] apply-patches.sh: use series file to apply patches in proper order In-Reply-To: <20120312085752.GB444@game.jcrosoft.org> References: <1331233872-31746-1-git-send-email-ludovic.desroches@atmel.com> <20120312085752.GB444@game.jcrosoft.org> Message-ID: <4F5F4624.1000607@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 03/12/2012 09:57 AM, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 18:29 Thu 08 Mar , Samuel Martin wrote: >> Hi Ludovic, >> >>> + # If there is a series file, use it instead of using ls sort order >>> + # to apply patches. Skip line starting with a dash. >>> + if [ -e "${path}/series" ] ; then >>> + for i in `cat ${path}/series | grep -Ev "^#" 2> /dev/null` ; do >> Or simply: >> for i in `grep -Ev "^#" ${path}/series 2> /dev/null` ; do > why not simply use quilt? > > it will simply also patch series upgrade > > we just have to add quilt to the host tools +1 Regards, Julien