Define hugepages mount in module
This commit is contained in:
parent
66bf540c3e
commit
8f850c7c62
2 changed files with 21 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue