User:Ollieparanoid/p-boot

In order to debug why HDMI is not working with the postmarketOS stock install, but is working with megi's multi-distro demo image, I looked into packaging p-boot for postmarketOS (details).

While I was preparing this, megi was able to reproduce the bug and found that it is definitively p-boot related (kernel bug not being triggered if graphical p-boot is used), so I didn't actually try to use these scripts. I'll dump them here for reference.

So this is all untested... and while thinking about it, it will fail to find initramfs-extra, we'd need a good solution for that.

p-boot APKBUILD:

We'd need to run this after successful mkinitfs: