Feature #5061: freebsd boot loader integration (loader project)
bootadm update-archive should not fail if grub1 is missing
|Assignee:||Toomas Soome||% Done:|
|Category:||cmd - userland programs|
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.
#3 Updated by Electric Monk over 4 years ago
- % Done changed from 90 to 100
- Status changed from In Progress to Closed
commit 630270564f9cfe09ebbccb748c7dc1d897e14135 Author: Toomas Soome <firstname.lastname@example.org> Date: 2014-09-10T21:59:23.000Z 5062 bootadm update-archive should not fail if grub1 is missing Reviewed by: Gary Mills <email@example.com> Reviewed by: Igor Kozhukhov <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>
Also available in: Atom