Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 4796] New: apply-patches.sh reorders patches given on the command line
@ 2012-02-26 20:57 bugzilla at busybox.net
  2012-02-27  8:26 ` Ludovic Desroches
                   ` (5 more replies)
  0 siblings, 6 replies; 57+ messages in thread
From: bugzilla at busybox.net @ 2012-02-26 20:57 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=4796

           Summary: apply-patches.sh reorders patches given on the command
                    line
           Product: buildroot
           Version: 2012.02
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: develop at kristov.de
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Created attachment 4052
  --> https://bugs.busybox.net/attachment.cgi?id=4052
prevents reordering patches

When support/scripts/apply-patches.sh is given an explicit list of patches
instead of a template, they are sorted by name before being applied. This is
bad as sometimes the order of patches is important, e.g. if one patch depends
on another one. This happens e.g. when applying Debian patches whose order is
explicitly described in the file debian/patches/series.

The culprit is a "ls -d" which has to be changed to "ls -dU" in order to
prevent sorting to take place. I have attached a corresponding patch.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 57+ messages in thread

end of thread, other threads:[~2013-05-26 12:40 UTC | newest]

Thread overview: 57+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-26 20:57 [Buildroot] [Bug 4796] New: apply-patches.sh reorders patches given on the command line bugzilla at busybox.net
2012-02-27  8:26 ` Ludovic Desroches
2012-02-27 12:54   ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-28 21:19   ` Arnout Vandecappelle
2012-03-08 12:00     ` [Buildroot] [RFC] using series file ludovic.desroches at atmel.com
2012-03-08 12:00       ` [Buildroot] [PATCH] apply-patches.sh: use series file to apply patches in proper order ludovic.desroches at atmel.com
2012-03-08 10:48         ` Samuel Martin
2012-03-08 14:06           ` Ludovic Desroches
2012-03-08 15:50             ` Samuel Martin
2012-03-08 19:11               ` ludovic.desroches at atmel.com
2012-03-08 17:29                 ` Samuel Martin
2012-03-12  8:57                   ` Jean-Christophe PLAGNIOL-VILLARD
2012-03-13 10:08                     ` Thomas De Schampheleire
2012-03-13 13:19                       ` Jean-Christophe PLAGNIOL-VILLARD
2012-03-13 13:05                     ` Julien Boibessot
2012-03-13 21:23                       ` Ludovic Desroches
2012-03-14  8:59                         ` Jean-Christophe PLAGNIOL-VILLARD
     [not found]                           ` <4F606AF2.2010400@atmel.com>
2012-03-14 10:04                             ` Thomas Petazzoni
2012-03-14 10:42                               ` Ludovic Desroches
2012-03-14 11:03                                 ` Thomas Petazzoni
2012-03-14 15:33                                   ` ludovic.desroches at atmel.com
2012-03-14 15:33                                     ` [Buildroot] [PATCH 1/6] apply-patches.sh: check if there are rejects before applying patches ludovic.desroches at atmel.com
2012-03-14 21:41                                       ` Thomas Petazzoni
2012-03-14 22:32                                       ` Peter Korsgaard
2012-03-15  8:13                                         ` Ludovic Desroches
2012-03-14 15:33                                     ` [Buildroot] [PATCH 2/6] apply-patches.sh: rename targetdir to builddir ludovic.desroches at atmel.com
2012-03-14 21:42                                       ` Thomas Petazzoni
2012-03-20 22:50                                       ` Peter Korsgaard
2012-03-14 15:33                                     ` [Buildroot] [PATCH 3/6] apply-patches.sh: cleanup ludovic.desroches at atmel.com
2012-03-14 21:42                                       ` Thomas Petazzoni
2012-03-20 22:51                                       ` Peter Korsgaard
2012-03-14 15:33                                     ` [Buildroot] [PATCH 4/6] apply-patches.sh: directories are no more considered as overlays ludovic.desroches at atmel.com
2012-03-14 21:42                                       ` Thomas Petazzoni
2012-03-20 22:52                                       ` Peter Korsgaard
2012-03-14 15:33                                     ` [Buildroot] [PATCH 5/6] apply-patches.sh: change archive management ludovic.desroches at atmel.com
2012-03-14 21:43                                       ` Thomas Petazzoni
2012-03-15  8:27                                         ` Ludovic Desroches
2012-03-20 23:05                                       ` Peter Korsgaard
2012-03-14 15:33                                     ` [Buildroot] [PATCH 6/6] apply-patches.sh: use series file to apply patches in proper order ludovic.desroches at atmel.com
2012-03-14 21:43                                       ` Thomas Petazzoni
2012-03-20 23:07                                       ` Peter Korsgaard
2012-03-21  8:23                                         ` Ludovic Desroches
2012-03-21  9:02                                           ` Peter Korsgaard
2012-03-21 10:05                                             ` Ludovic Desroches
2012-03-21 13:26                                             ` ludovic.desroches at atmel.com
2012-03-21 12:26                                               ` Thomas Petazzoni
2012-03-21 13:02                                                 ` Peter Korsgaard
2012-03-21 13:26                                               ` [Buildroot] [PATCH] apply-patches.sh: add recursivity when scanning patchdir ludovic.desroches at atmel.com
2012-03-21 12:48                                                 ` Peter Korsgaard
2012-03-21  9:05                                           ` [Buildroot] [PATCH 6/6] apply-patches.sh: use series file to apply patches in proper order Thomas Petazzoni
2012-03-14 21:51                                     ` [Buildroot] [PATCH] " Thomas Petazzoni
2012-03-15  8:33                                       ` Ludovic Desroches
2012-03-15 10:46 ` [Buildroot] [Bug 4796] apply-patches.sh reorders patches given on the command line bugzilla at busybox.net
2012-03-15 10:46 ` bugzilla at busybox.net
2013-05-26 11:58 ` bugzilla at busybox.net
2013-05-26 12:31 ` bugzilla at busybox.net
2013-05-26 12:40 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox