summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Gauduin2020-04-20 14:20:41 +0200
committerMaxime Gauduin2020-04-20 14:20:41 +0200
commitd2d54115859c5daf581b4cd2174e818ffce0c447 (patch)
treee359b6241addbf9cb54fbb27c58ee13fa3341b70
parent24f0b7bb9881766d08bed928d324f7cf068aa3b7 (diff)
downloadaur-d2d54115859c5daf581b4cd2174e818ffce0c447.tar.gz
add /dev/nvidia0 and /dev/nvidiactl to ReadWritePaths
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--foldingathome.service2
3 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9239eef9411..fa18feeefc7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = foldingathome
pkgdesc = A distributed computing project for simulating protein dynamics
pkgver = 7.6.9
- pkgrel = 1
+ pkgrel = 2
url = https://foldingathome.org/
install = foldingathome.install
arch = x86_64
@@ -20,7 +20,7 @@ pkgbase = foldingathome
source = foldingathome-user.service
source = GPUs.txt
sha256sums = b580a8076f3147bacb9d1599e1b1765956a8e37b8a79bd961ffe2e3adc7df110
- sha256sums = 0ab7c2dbbbc3b4c1da8224968514f000664a4b462bf6303110199d71ca567e5a
+ sha256sums = 03633db6db07d2d5f077e14caeec6398f2302d684374f2fe6394ab3edc2de995
sha256sums = 41997239dc363570e2ca5bec0eca8c7d88aada6ace0bb5793bf3ec6d101f40bb
sha256sums = 5944a6df06b42c5edd4e5f0922f16e3f04cb755bd248d0e610c9262f3814aff9
diff --git a/PKGBUILD b/PKGBUILD
index 2f111211b6d..a02928a97ec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=foldingathome
pkgver=7.6.9
-pkgrel=1
+pkgrel=2
pkgdesc='A distributed computing project for simulating protein dynamics'
arch=(x86_64)
url=https://foldingathome.org/
@@ -31,7 +31,7 @@ source=(
GPUs.txt
)
sha256sums=('b580a8076f3147bacb9d1599e1b1765956a8e37b8a79bd961ffe2e3adc7df110'
- '0ab7c2dbbbc3b4c1da8224968514f000664a4b462bf6303110199d71ca567e5a'
+ '03633db6db07d2d5f077e14caeec6398f2302d684374f2fe6394ab3edc2de995'
'41997239dc363570e2ca5bec0eca8c7d88aada6ace0bb5793bf3ec6d101f40bb'
'5944a6df06b42c5edd4e5f0922f16e3f04cb755bd248d0e610c9262f3814aff9')
diff --git a/foldingathome.service b/foldingathome.service
index c4a431fdaeb..1269a9badb0 100644
--- a/foldingathome.service
+++ b/foldingathome.service
@@ -18,6 +18,8 @@ CPUSchedulingPolicy=idle
IOSchedulingClass=3
# Nvidia
+ReadWritePaths=-/dev/nvidia0
+ReadWritePaths=-/dev/nvidiactl
ReadWritePaths=-/dev/nvidia-uvm
ExecStartPre=!-/usr/bin/nvidia-modprobe
ExecStartPre=!-/usr/bin/nvidia-modprobe -c 0 -u