Hi all,
Alyx and I have been talking and we think GRUB should automatically
update its configuration when a new kernel is installed. Something like
triggers="grub.trigger=/usr/share/kernel"
Then grub.trigger can contain (pseudocode):
[ -f /boot/grub/grub.cfg ] || die "/boot is not mounted or GRUB is not
installed. Update the configuration manually."
[ -f /boot/grub/.manual_config ]] && die "Not overwriting your
configuration. Please update it manually before rebooting."
grub-mkconfig -o /boot/grub/grub.cfg
Thoughts?
Best,
--arw
--
A. Wilcox (awilfox)
Open-source programmer (C, C++, Python)
https://code.foxkit.us/u/awilfox/
--
A. Wilcox (awilfox)
Project Lead, Adélie Linux
https://www.adelielinux.org