Skip to content

postmarketos-mkinitfs: update-android-kernel: fix flavor being wrong for -rc kernels

Administrator requested to merge android-update-kernel into master

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

Merge request reports

Loading