On 12/02/2019 14:10, Javier Martinez Canillas wrote:
I see, I would had thought that the advice would had been to use
grub-editenv create instead. But still grub2-editenv create will only
prevent removing the symlink, it won't help with the issue of the
kernelopts variable not being set.
We should make editing the grubenv more reliable to avoid these issues.
Am I the only person that considers grub2-editenv terribly
misnamed, because it doesn't really let you edit anything.
Could it not just, you know, open the environment in an
editor and let you edit it ;-) Would be a lot nicer than
the current recipe of:
sudo grub2-editenv list | fgrep kernelopts > x
vi x
sudo grub2-editenv - set "$(cat x)"
every time I want to change the kernel options.
Oh and why does "set" need an explicit hyphen to use
the default file while "list" doesn't?!?!?
Tom
--
Tom Hughes (t...@compton.nu)
http://compton.nu/
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org