AsahiLinux / asahi-scripts

Miscellaneous admin scripts for the Asahi Linux reference distro
MIT License
45 stars 32 forks source link

update-m1n1: allow default script to take over building m1n1 binary #19

Closed b-crumb closed 1 year ago

b-crumb commented 1 year ago

Had to close and open new for this one because it was easier to sync.

Reposting:

Mini addition but also discussion.

Let's allow users to have their own script to manage m1n1 since not everyone might be using UBoot GRUB etc.

Personally I directly boot my kernel from m1n1 stage 2 and have mini scripts that also (minimally) manage binary files such that I always have at least a snapshot of:

1. The last successful direct m1n1 stage 2 boot.
2. The last successful UBoot GRUB boot. (for USB fixing etc.)