Merge pull request #112668 from r-ryantm/auto-update/memtest86-efi

memtest86-efi: 8.3 -> 8.4
This commit is contained in:
Dennis Gosnell 2021-02-23 18:44:42 +09:00 committed by GitHub
commit be1dbde1e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,7 +8,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "memtest86-efi"; pname = "memtest86-efi";
version = "8.3"; version = "8.4";
src = fetchzip { src = fetchzip {
# TODO: We're using the previous version of memtest86 because the # TODO: We're using the previous version of memtest86 because the
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
# binaries that we make sure to version, then we could probably keep up # binaries that we make sure to version, then we could probably keep up
# with the latest versions released by the company. # with the latest versions released by the company.
url = "https://www.memtest86.com/downloads/memtest86-${version}-usb.zip"; url = "https://www.memtest86.com/downloads/memtest86-${version}-usb.zip";
sha256 = "0aldz7rvnfnzb4h447q10k9c9p5ghwzdyn7f6g5lrxiv5vxf3x96"; sha256 = "sha256-jh4FKCYZbOQhRv6B7N8Hmw6RQCQvbBGaGFTMLwM1nk8=";
stripRoot = false; stripRoot = false;
}; };
@ -35,6 +35,8 @@ stdenv.mkDerivation rec {
]; ];
installPhase = '' installPhase = ''
runHook preInstall
# memtest86 is distributed as a bootable USB image. It contains the actual # memtest86 is distributed as a bootable USB image. It contains the actual
# memtest86 EFI app. # memtest86 EFI app.
# #
@ -50,6 +52,8 @@ stdenv.mkDerivation rec {
') ')
mkdir $out mkdir $out
mcopy -vsi $IMG@@$ESP_OFFSET ::'/EFI/BOOT/*' $out/ mcopy -vsi $IMG@@$ESP_OFFSET ::'/EFI/BOOT/*' $out/
runHook postInstall
''; '';
meta = with lib; { meta = with lib; {