mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-31 08:25:37 +00:00
4f54a97cf2
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>