[Buildroot] [PATCH] apply-patches: catch unexpected failure
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Jul 5 15:43:28 UTC 2016
Hello,
On Tue, 5 Jul 2016 13:02:09 +0200, Romain Naour wrote:
> As reported by Sébastien Szymanski [1], the apply-patches script
> doesn't stop if a tar command can't extract an archive.
>
> Use "set -e" to exit immediately if a command return an error.
>
> [1] http://patchwork.ozlabs.org/patch/626196
>
> Signed-off-by: Romain Naour <romain.naour at gmail.com>
> Cc: Sébastien Szymanski <sebastien.szymanski at armadeus.com>
> ---
> support/scripts/apply-patches.sh | 3 +++
> 1 file changed, 3 insertions(+)
In fact, this broke many packages, so I reverted.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list