Making grub display 'All configurations', not 'Old'

That confused some people, as the first generation shown is
the 'current'.
This commit is contained in:
Lluís Batlle i Rossell 2013-04-16 11:09:25 +02:00
parent 7d2ec75ae7
commit 3be4fd3f38

View file

@ -194,7 +194,7 @@ $conf .= "$extraEntries\n" unless $extraEntriesBeforeNixOS;
$conf =~ s/\@bootRoot\@/$bootRoot/g;
# Add entries for all previous generations of the system profile.
$conf .= "submenu \"NixOS - Old configurations\" {\n" if $grubVersion == 2;
$conf .= "submenu \"NixOS - All configurations\" {\n" if $grubVersion == 2;
sub nrFromGen { my ($x) = @_; $x =~ /system-(.*)-link/; return $1; }