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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user