memtest86-efi: add runHook preInstall and postInstall
This commit is contained in:
parent
62802f0531
commit
cdcfa7d8e0
1 changed files with 4 additions and 0 deletions
|
@ -35,6 +35,8 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
# memtest86 is distributed as a bootable USB image. It contains the actual
|
||||
# memtest86 EFI app.
|
||||
#
|
||||
|
@ -50,6 +52,8 @@ stdenv.mkDerivation rec {
|
|||
')
|
||||
mkdir $out
|
||||
mcopy -vsi $IMG@@$ESP_OFFSET ::'/EFI/BOOT/*' $out/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue