Improve errors in bootstrap scripts
Changes introduced by this pull request:
- Exit with the return code 1 if the script exits for an error.
- Fail if an OS or cargo package cannot be installed.
- Make it clearer that the default emulator is qemu.
- Virtualbox has been removed from the debian and fedora official packages. For those two OSes, do not install virtualbox in the bootstrap script and instead ask the user to install it.
Other:
I did what I could to test the changes manually on:
- Ubuntu 22.04.3 LTS Jammy
- Debian Bookworm
- Fedora 39
- Arch Linux
- openSUSE Tumbleweed
- Gentoo
- FreeBSD 14.0
- Gentoo
I did not test:
- MacOS ports and brew
- Solus
Some packages have been renamed or the version changed (and we are not fixing it as part of this PR). For example:
- SuSE:
python-Mako
(has been renamed topython3-mako
),syslinux-util
andprotobuf
. - FreeBSD (and probably MacOS ports and brew):
expact2
(has been renamed toexpat
),virtualbox
,sdl12
,perl5.36
,scons
andpy-protobuf-compiler
.
Edited by mattmadeofpasta