bump arm64 to 5.9.7
clean up package installation
bump image size to 3GB for now
add "make write_image PDEV=/dev/sdX TARGET=armXX" to easily build and write an image to the specified device all in one
This fixes both the behaviour of get_build_kver() and its invocation in other
parts of the script, so that it executes in the same shell as the caller's.
This way, all parts of the version string can be retrieved in a single call.
Before this fix, the function had to be invoked in a subshell $(foo)
to capture the full version string as its output, while the export'ed values
of $PRAWNOS_KVER_* could not be read by the caller in the parent shell.
Signed-off-by: Fil <fil@filberg.eu>
This introduces function build_latest_kernel() that automatically fetches
the latest kernel version from the upstream URL and launches a regular
kernel build for the latest version found.
This should prove to be very usefull to automate kernel builds
on a headless build server (e.g. via a cron job), by continuously
monitoring upstream for any new release.
Signed-off-by: Fil <fil@filberg.eu>