-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaks bootloader if multiple menuentries present #5
Comments
Turns out the "much nicer hack" doesn't fully work either. I assumed that the scripts inside I'll try to find an equivalent of |
This seems to work fine:
It does
so forces the |
The current health-checker GRUB injection snippet had the problem that multiple menuentries would have required calculating the number of entries first. With dd it is possible to make stdout always append to the file, so the corresponding flag is set. [gh##5]
Using to |
If there are multiple
menuentry
to be emitted intogrub.cfg
, the hack in/etc/grub.d/83_health_check_marker
breaks, which results in a corrupted configuration file.This can be fixed by replacing the ugly hack with a much nicer one:
The text was updated successfully, but these errors were encountered: