From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Tue, 13 Mar 2012 14:19:16 +0100 Subject: [Buildroot] [PATCH] apply-patches.sh: use series file to apply patches in proper order In-Reply-To: References: <1331233872-31746-1-git-send-email-ludovic.desroches@atmel.com> <20120312085752.GB444@game.jcrosoft.org> Message-ID: <20120313131916.GH444@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 11:08 Tue 13 Mar , Thomas De Schampheleire wrote: > On Mon, Mar 12, 2012 at 9: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 > > Can you use quilt without using git? > Note that not every user puts buildroot in an actual repository. And > even those who do, may use another version control system than git. quilt does need any scm it's a patch series management tools Best Regards, J.