userspace: remember to runHook

master
Adam Joseph 2 years ago
parent 549cd6add0
commit 4711bd6676

@ -25,6 +25,7 @@ in stdenv.mkDerivation {
bannerText = "ownerboot"; bannerText = "ownerboot";
installPhase = '' installPhase = ''
runHook preInstall
mkdir -p $out/usr mkdir -p $out/usr
cp -r ${busybox}/bin $out/bin cp -r ${busybox}/bin $out/bin
chmod -R u+w $out chmod -R u+w $out
@ -49,5 +50,6 @@ in stdenv.mkDerivation {
#cp ${lib.getBin lvm2}/bin/dmsetup $out/bin/ #cp ${lib.getBin lvm2}/bin/dmsetup $out/bin/
#cp ${cryptsetup}/bin/cryptsetup $out/bin/ #cp ${cryptsetup}/bin/cryptsetup $out/bin/
#cp ${kexec-tools}/bin/kexec $out/bin/ #cp ${kexec-tools}/bin/kexec $out/bin/
runHook postInstall
''; '';
} }

Loading…
Cancel
Save