Adding a patch for grub, so livecds with grub can still boot with buggy bioses,

as those of Acer 292LMi or Airis N990. This allows booting the NixOS ISO releases.
I made it optional, not included by default. I don't think it would harm at all enabling
it always - let it be decided on forum.

svn path=/nixpkgs/trunk/; revision=16341
This commit is contained in:
Lluís Batlle i Rossell
2009-07-13 16:57:33 +00:00
parent ed658483e9
commit 3a8a3c91f7
3 changed files with 14 additions and 2 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
{stdenv, fetchurl, autoconf, automake}:
{stdenv, fetchurl, autoconf, automake, buggyBiosCDSupport ? false}:
stdenv.mkDerivation {
name = "grub-0.97-patch-1.9";
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
# /dev/disk/by-label/bla. The symlink resolution code in
# grub-install isn't smart enough.
./symlink.patch
];
] ++ (stdenv.lib.optional buggyBiosCDSupport ./buggybios.patch);
# Autoconf/automake required for the splashimage patch.
buildInputs = [autoconf automake];