mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-21 09:31:51 +00:00
When a new /boot device is selected, wait until after successfully mounting the newly-selected device before updating CONFIG_BOOT_DEV. Also, don't assume /boot already mounted, as this can cause a false failure and prevent mounting of the newly-selected device. Lastly, tidy up the error output in case mounting /boot fails. Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>