[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #39306] Contrib: grub-list-kernels.pl script
From: |
Craig Sanders |
Subject: |
[bug #39306] Contrib: grub-list-kernels.pl script |
Date: |
Fri, 21 Jun 2013 01:51:31 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130515 Firefox/17.0 Iceweasel/17.0.6 |
Follow-up Comment #6, bug #39306 (project grub):
re: comment #3 - yes, i understand how they're generated.
however if you run 'grub-set-default
gnulinux-3.8-2-amd64-advanced-db4cb9bd-e5e9-40c6-ac22-2267fd41084d' and then
later delete the kernel, the default in grubenv will point to a kernel that is
no longer installed. same as if you use the index and then delete the
kernel.
in other words, you need to check that your saved_entry or prev_saved_entry is
valid every time you run update-grub/grub-mkconfig whether you use a numbered
index or a $menu_id_option.
which, again, is the point of my script. it makes that task much less of a
hassle.
BTW, if menuentry_id_option was mandatory for every menuentry, it would be
trivial to modify the grub-list-kernels.pl script so that it printed them
instead of a numeric index...but it's not mandatory, it's optional, so you
can't rely on it being there.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39306>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #39306] Contrib: grub-list-kernels.pl script, Craig Sanders, 2013/06/20
- [bug #39306] Contrib: grub-list-kernels.pl script, Vladimir Serbinenko, 2013/06/20
- [bug #39306] Contrib: grub-list-kernels.pl script, Craig Sanders, 2013/06/20
- [bug #39306] Contrib: grub-list-kernels.pl script, Vladimir Serbinenko, 2013/06/20
- [bug #39306] Contrib: grub-list-kernels.pl script, Craig Sanders, 2013/06/20
- [bug #39306] Contrib: grub-list-kernels.pl script, Vladimir Serbinenko, 2013/06/20
- [bug #39306] Contrib: grub-list-kernels.pl script,
Craig Sanders <=
- [bug #39306] Contrib: grub-list-kernels.pl script, Craig Sanders, 2013/06/20
- [bug #39306] Contrib: grub-list-kernels.pl script, Vladimir Serbinenko, 2013/06/20
- [bug #39306] Contrib: grub-list-kernels.pl script, Craig Sanders, 2013/06/21