upgrade kernel on Alpine Linux on apple M1

2022-07-26

usual disclaimer: no one is responsible for any damage/loss by using this

First step:

enable alpine testing repository in /etc/apk/repositories it should have this line:

https://dl-cdn.alpinelinux.org/alpine/edge/testing

run apk update

run apk add linux-asahi m1n1 u-boot-asahi

ensure that the ESP/UEFI partition is mounted under /boot/efi

run next script or create boot.bin manually

run /usr/sbin/update-u-boot-asahi