efibootmgr: Create patch to allow arbitrary loader filenames
This is required for the NixOS efiBootStub module, since the default 40
characters is not enough for efi\nixos\{hash}-linux-3.3-rc7-bzImage.efi
svn path=/nixpkgs/trunk/; revision=33049
This commit is contained in:
@@ -7,13 +7,14 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [ pciutils zlib perl ];
|
||||
|
||||
patches = [ ./arbitrary-filenames.patch ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://linux.dell.com/efibootmgr/permalink/efibootmgr-${version}.tar.gz";
|
||||
sha256 = "0wcfgf8x4p4xfh38m9x3njwsxibm9bhnmvpjj94lj9sk9xxa8qmm";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
postPatch = ''
|
||||
substituteInPlace "./tools/install.pl" \
|
||||
--replace "/usr/bin/perl" "${perl}/bin/perl"
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user