diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2019-03-26 19:35:55 +0200 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2019-03-27 00:13:30 +0200 |
commit | b422e1631eb810685db79dd25fa64e57a0917f25 (patch) | |
tree | be8e1c95963c6e70becce824c020986495238cb9 /target/linux/brcm47xx/patches-4.19 | |
parent | e1444ab59cfcd330cfac6f51aa14106961585ee1 (diff) | |
download | upstream-b422e1631eb810685db79dd25fa64e57a0917f25.tar.gz upstream-b422e1631eb810685db79dd25fa64e57a0917f25.tar.bz2 upstream-b422e1631eb810685db79dd25fa64e57a0917f25.zip |
scripts/gen_image_generic.sh: fail on errors
The script always exits with value 0, even if some of the commands fail.
This can potentially create broken, unbootable images, e.g. when
make_ext4fs fails due to TARGET_KERNEL_PARTSIZE being too small for the
kernel. Avoid this by failing the script when any command fails.
Acked-by: Jo-Philipp Wich <jo@mein.io>
Acked-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'target/linux/brcm47xx/patches-4.19')
0 files changed, 0 insertions, 0 deletions