efitools: fix build with gnu-efi >= 3.0.11

(#73503)
This commit is contained in:
Renaud 2019-11-16 15:27:38 +01:00 committed by GitHub
parent b41e2cf0c4
commit 3bd26af129
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
sed -i -e 's#/usr/include/efi#${gnu-efi}/include/efi/#g' Make.rules
sed -i -e 's#/usr/lib64/gnuefi#${gnu-efi}/lib/#g' Make.rules
sed -i -e 's#$(DESTDIR)/usr#$(out)#g' Make.rules
substituteInPlace lib/console.c --replace "EFI_WARN_UNKOWN_GLYPH" "EFI_WARN_UNKNOWN_GLYPH"
patchShebangs .
'';