Define hugepages mount in module

This commit is contained in:
Artturin 2024-11-21 01:06:03 +02:00
parent 66bf540c3e
commit 8f850c7c62
2 changed files with 21 additions and 1 deletions

View file

@ -33,7 +33,8 @@ stdenv.mkDerivation rec {
runHook preInstall
install -Dm444 -t $out/lib/systemd/system/ "tenstorrent-hugepages.service"
install -Dm444 -t $out/lib/systemd/system/ 'dev-hugepages\x2d1G.mount'
# Defined in the module
#install -Dm444 -t $out/lib/systemd/system/ 'dev-hugepages\x2d1G.mount'
install -Dm555 -t $out/libexec/ "hugepages-setup.sh"
runHook postInstall