[Buildroot] [RFC PATCH v2 6/6] apply-patches.sh: change archive management
Arnout Vandecappelle
arnout at mind.be
Wed Feb 15 23:54:05 UTC 2012
On Thursday 16 February 2012 00:09:59 ludovic.desroches at atmel.com wrote:
> From: Ludovic Desroches <ludovic.desroches at atmel.com>
>
> The way archives were managed was incorrect because the uncompressed archives
> were sent directly to patch command. It means that alphabetical patch orderwas
> not respected.
>
> Signed-off-by: Ludovic Desroches <ludovic.desroches at atmel.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
> + elif echo "$i" | grep -q -E "\.tar(\..*)?$|\.tbz2?$|\.tgz$" ; then
> + unpackedarchivedir="$builddir/.patches-$(basename $i)-unpacked"
> + rm -rf "$unpackedarchivedir" 2> /dev/null
Inconsistent whitespace.
> + mkdir "$unpackedarchivedir"
> + tar -C "$unpackedarchivedir" --strip-components=1 -xaf "${path}/$i"
> + scan_patchdir "$unpackedarchivedir"
> else
> apply_patch "$path" "$i" || exit 1
> fi
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
More information about the buildroot
mailing list