main/linux-lts: package doesn't build correctly on live system
It is not possible to build
main/linux-lts on a live system using
abuild -r. If you try to do it, abuild will (needlesly???) try to install a bunch of firmware before proceeding with the actual build, and it seems those firmware packages cannot be installed on a live system. Therefore, the build fails.
In order to bypass that limitation, we can use
abuild -rd. Then the kernel builds correctly but, for some reason I am yet to understand, when we build it like that the
config-FLAVOR file is not copied to
pkg/linux-FLAVOR/boot. The package is created, but since it lacks the config, it does not work correctly when used by other tools, like
mkimage (i.e., it is not possible to create a custom ISO with it).
If we install Alpine on the system, then we can use
abuild -r and the config file gets copied and everything works perfectly.