Add support for custom scripts
With hooks like in mkinitcpio or initramfs-tools, it will be possible to further customize the boot process.
With hooks like in mkinitcpio or initramfs-tools, it will be possible to further customize the boot process.
yeah, we should refactor it, but I'm afraid to do so until we have a testsuite of some sort.
I just took a look at the postmarketOS init https://gitlab.com/postmarketOS/pmaports/-/blob/master/main/postmarketos-initramfs/init.sh?ref_type=heads, and it looks like a nice refactor. Maybe we can take inspiration from that or ask the pmOS people to help too
mentioned in merge request !179 (merged)