postmarketos-mkinitfs: update-android-kernel: fix flavor being wrong for -rc kernels
The flavor string was naively parsed using sed by removing everything before the first hyphen, this breaks for -rc kernels. Instead lets glob /usr/share/kernel for the installed kernel. This doesn't support multiple installed kernels.
Edited by Administrator