ac-os: set UEFI boot order after OTA flash to fix non-Dell/ThinkPad machines
After writing the kernel to an internal disk, use efibootmgr to create
a "AC Native OS" UEFI boot entry and set it first in the boot order.
This prevents OEM firmwares (HP, Dell, Lenovo) from booting stale
vendor-specific kernel entries instead of our EFI/BOOT/BOOTX64.EFI.
- Mount efivarfs in init for EFI variable access
- Bundle efibootmgr in initramfs build
- Run efibootmgr -c after flash verify succeeds in flash_thread_fn
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>