apply-patches.sh: use series file to apply patches in proper order
authorLudovic Desroches <ludovic.desroches@atmel.com>
Wed, 14 Mar 2012 15:33:57 +0000 (16:33 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 20 Mar 2012 23:06:26 +0000 (00:06 +0100)
commit6c29e50c94241e5179e0075fc15dab6c073f0d6f
tree9435803fa24c0544bf3ba49804b923a0c4c7131f
parent4f9e82da2a7d30f7e9e39238a3a2f0bd021a7be4
apply-patches.sh: use series file to apply patches in proper order

If a series file is present use it to determine the proper order to apply
patches instead of using ls sorting order.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Tested-by: Ludovic Desroches <ludovic.desroches@atmel.com>
add a series file with a wrong patch order into an archive containing several
patches whose correct order is the alphabetical one
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
support/scripts/apply-patches.sh