SergKlimov / burg

Automatically exported from code.google.com/p/burg
0 stars 1 forks source link

GRUB_DEFAULT set to the name of an entry does not work #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set GRUB_DEFAULT="The name of an entry"
2. Run sudo update-{grub,burg}
3. Reboot

What is the expected output? What do you see instead?
Expected: Burg should default to the named entry from GRUB_DEFAULT
Actual: Burg ignores the value and defaults to entry 0

What version of the product are you using? On what operating system?
1.98+20100 on Ubuntu 10.04 64-bit

Please provide any additional information below.

Original issue reported on code.google.com by bjmadsen on 13 Jul 2010 at 9:48

GoogleCodeExporter commented 8 years ago
You can use index number (0 based), such as:

GRUB_DEFAULT=1

Original comment by bean12...@gmail.com on 17 Jul 2010 at 1:56

GoogleCodeExporter commented 8 years ago
I know that, but using the name is easier if the number of entries often 
change. If that's the case you will have to update the default index each time 
you (un)install a new kernel. If using a named entry, you don't have to update 
at all.

Anyway, it's just a small thing that's nice to have, and GRUB has it.

Original comment by bjmadsen on 17 Jul 2010 at 7:34

GoogleCodeExporter commented 8 years ago
OK, this feature is not difficult anyway. I'd implement it when I have some 
spare time.

Original comment by bean12...@gmail.com on 20 Jul 2010 at 3:25

GoogleCodeExporter commented 8 years ago
Sounds very good :)

Original comment by bjmadsen on 23 Jul 2010 at 11:04