Feature #5061: freebsd boot loader integration (loader project)
bootadm update-archive should not fail if grub1 is missing
bootadm fails to update the boot archive if there is no <mountpoint>/boot/grub/stage2 file. This failure happens because of is_grub() check in bootadm_upgrade.c: get _findroot_cap().
This check is redundant and unneeded, because is_grub() check is only needed for menu management, and bam_menu(), which is used to call all menu related functions, is using is_grub() check before doing anything else.
Updated by Electric Monk over 7 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 630270564f9cfe09ebbccb748c7dc1d897e14135 Author: Toomas Soome <email@example.com> Date: 2014-09-10T21:59:23.000Z 5062 bootadm update-archive should not fail if grub1 is missing Reviewed by: Gary Mills <firstname.lastname@example.org> Reviewed by: Igor Kozhukhov <email@example.com> Approved by: Richard Lowe <firstname.lastname@example.org>