forked from mirrors/nixpkgs
* Include the kernel version in the description for
each Grub menu entry. (Ideally, we would show what changed between each entry, e.g. "KDE upgraded to 4.1", but that would be hard to do generically.) svn path=/nixos/trunk/; revision=13146
This commit is contained in:
parent
d146d9945b
commit
3a9700b226
|
@ -142,7 +142,8 @@ for generation in $(
|
|||
echo $generation
|
||||
link=/nix/var/nix/profiles/system-$generation-link
|
||||
date=$(stat --printf="%y\n" $link | sed 's/\..*//')
|
||||
addEntry "NixOS - Configuration $generation ($date)" $link "$generation ($date)"
|
||||
kernelVersion=$(cd $(dirname $(readlink -f $link/kernel))/lib/modules && echo *)
|
||||
addEntry "NixOS - Configuration $generation ($date - $kernelVersion)" $link "$generation ($date)"
|
||||
done
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue