From 3be4fd3f3899f3dbdee203a00ae068947e2914ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Tue, 16 Apr 2013 11:09:25 +0200 Subject: [PATCH] Making grub display 'All configurations', not 'Old' That confused some people, as the first generation shown is the 'current'. --- modules/system/boot/loader/grub/install-grub.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/boot/loader/grub/install-grub.pl b/modules/system/boot/loader/grub/install-grub.pl index f06527aaaec..738714ba714 100644 --- a/modules/system/boot/loader/grub/install-grub.pl +++ b/modules/system/boot/loader/grub/install-grub.pl @@ -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; }