This PR contains a number of improvements to the firmware script.
verbosity logging is now handled with bash's getopts builtin to reduce repetition and to improve readability
situations where /lib doesn't exist (e.g. nixos) is handled by mkdir -p before anything attempts to access it quitting the script to avoid breaking other distros
The python logging level snippet was added since it was dumping a bunch of errors (repeated firmware) which I am pretty sure is harmless
This PR contains a number of improvements to the firmware script.
getopts
builtin to reduce repetition and to improve readability/lib
doesn't exist (e.g. nixos) is handled byquitting the script to avoid breaking other distrosmkdir -p
before anything attempts to access itI have tested this on