[Buildroot] [PATCH 1/2] fs: Bail out on errors in fakeroot script

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Mar 8 21:23:30 UTC 2015

Dear Stefan Sørensen,

On Tue, 24 Feb 2015 16:47:34 +0100, Stefan Sørensen wrote:
> Currently, the generated fakeroot script has no error checking causing
> make to continue building even if some of the fakeroot script commands
> have failed. This can cause e.g. using an invalid device tables to go
> unnoticed.
> So add a "set -e" to the start of the fakeroot script so it will exit
> with a failure code as soon as one of the script commands fails.
> Signed-off-by: Stefan Sørensen <stefan.sorensen at spectralink.com>

Applied, thanks!

Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering

More information about the buildroot mailing list