mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-07 03:29:09 +00:00
Add function to detect boot device. Start by checking CONFIG_BOOT_DEV, then iterate thru all bootable partitions. Check if partition is mountable, contains grub directory. Update CONFIG_BOOT_DEV and mount on /boot if successful. Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>