armbian-build/packages/bsp/common/etc/initramfs/post-update.d
Matthijs Kooijman 10af624a73
Make sure the build fails if generating uInitrd fails (#4398)
Without this, when mkimage fails (for example because the boot partition
is too small), install.log shows an error like:

    mkimage: Write only 16310208/17794920 bytes, probably no space left on the device

But this does not terminate the build, so the compile script shows no
error and an image is generated, but it is unbootable.

This runs the script with -e, so when mkimage fails, the script fails,
which makes update-initramfs fail, which makes the build fail.
2022-11-08 18:36:38 +01:00
..
99-uboot Make sure the build fails if generating uInitrd fails (#4398) 2022-11-08 18:36:38 +01:00