30_os-prober fails in make_timeout() when using GRUB_BUTTON_CMOS_ADDRESS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I've been configuring the alternate OS boot functionality and discovered that "30_os-prober" causes a syntax error in the generated "grub.cfg.new" when GRUB_BUTTON_
if cmostest 85:3; then
else
fi
It is obviously missing any statements inside the conditional blocks.
The cause is make_timeout() only generating output when "$found_other_os" is empty. In the case of using GRUB_BUTTON_
I'll do a merge request later but the quick-fix to "/etc/grub/
make_timeout() {
if [ "x${found_
Could you try 2.02~beta2-*, now in trusty? The timeout code looks rather different there, and shouldn't suffer from this.