feat: add initial support for custom bootloaders

This commit is contained in:
Rudra Saraswat 2026-04-03 21:59:47 +01:00
parent f17c272b65
commit 76b61eb57a
3 changed files with 120 additions and 19 deletions

View file

@ -6,7 +6,7 @@ echo
mount -o remount,rw "$NEWROOT" >/dev/null 2>&1 || true
# Remove "$NEWROOT"/.successful-update if exists
rm -f "$NEWROOT"/.successful-update "$NEWROOT"/.update
rm -f "$NEWROOT"/.successful-update "$NEWROOT"/.update "$NEWROOT"/.tmp.boot
# Check if there is an available update
if [ -d "$NEWROOT"/.update_rootfs ]; then