Skip to content
Snippets Groups Projects
Unverified Commit 5b996938 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

rootfs: fail on errors in postinst scripts

The Gluon firmware framework [1] uses postinst scripts for sanity checks.
Make the build fail when a postinst script exits with an error to make
these sanity checks effective.

All postinst scripts in packages from the LEDE core and the packages feed
seem to work correctly with this change and will always return 0 unless
something is very broken.

[1] https://github.com/freifunk-gluon/gluon



Signed-off-by: default avatarMatthias Schiffer <mschiffer@universe-factory.net>
parent 021b96d7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment