anbox-installer
anbox-installer copied to clipboard
installer.sh should run with "set -e" so it stops processing on errors
currently a failure of any sub-call of the installer script will not stop the installation... i.e. if the dkms compilation fails it will still move on and install all the script snippets and session jobs ... it should instead stop processing and not move on putting stuff in place. this is also helpful to make it clearer to endusers that something went wrong.
We run with -e for certain portions of the installer script. Especially for those where we install the dkms package. Or do I miss anything?
Well, I have seen quite a few logs where dkms failed but the script just moved on. A toplevel "set -e" right after the shebang should help... If not, we should add more error checking add for the particular bits.