diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-09-21 19:06:48 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-09-21 19:06:48 +0000 |
commit | 808027219daa7d267d6725361ec67b4e90b5760b (patch) | |
tree | 8230516fd7c9369ff2a95933cac0ee8e53be7450 /pkgs/tools | |
parent | 8398a33112adb5dfb7cd7520e057ce96f18c9302 (diff) |
* Provide support for the "savedefault --once" command in the Grub
shell. KDE uses this to allow rebooting into a non-default entry. To enable, do "nixos-rebuild switch --install-grub". svn path=/nixpkgs/trunk/; revision=17341
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/grub/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/tools/misc/grub/default.nix b/pkgs/tools/misc/grub/default.nix index 8d8525bccd92c..13bdaf0339acc 100644 --- a/pkgs/tools/misc/grub/default.nix +++ b/pkgs/tools/misc/grub/default.nix @@ -22,6 +22,15 @@ stdenv.mkDerivation { # /dev/disk/by-label/bla. The symlink resolution code in # grub-install isn't smart enough. ./symlink.patch + + # Provide support for the "savedefault --once" command in the Grub + # shell. KDE uses this to allow rebooting into a non-default + # entry. + (fetchurl { + url = http://cvs.mandriva.com/cgi-bin/viewvc.cgi/SPECS/grub/grub-0.97-once.patch?revision=1.3; + sha256 = "1g5qfn8lvl32h4pggdf7dmjqjpi42jblknzakb5h909fi5i1qyw8"; + }) + ] ++ (stdenv.lib.optional buggyBiosCDSupport ./buggybios.patch); # Autoconf/automake required for the splashimage patch. |