summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <sudinave@gmail.com>2021-03-21 16:51:57 +0100
committerDavid Seifert <soap@gentoo.org>2021-03-21 16:51:57 +0100
commit11e8642321d582621385d53352f5cd31f3c1ce24 (patch)
tree3690e8b44db556feca104ef9c34209b28430989b /acct-user
parentx11-drivers/nvidia-drivers: change .conf tmp path to /var/tmp (diff)
downloadgentoo-11e8642321d582621385d53352f5cd31f3c1ce24.tar.gz
gentoo-11e8642321d582621385d53352f5cd31f3c1ce24.tar.bz2
gentoo-11e8642321d582621385d53352f5cd31f3c1ce24.zip
acct-user/nvpd: add user (458) for x11-drivers/nvidia-drivers
NVIDIA "strongly" recommends to run nvidia-persistenced as non-root, user added for this. As it need access to /dev/nvidia*, :video group is used rather than a pair. Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'acct-user')
-rw-r--r--acct-user/nvpd/metadata.xml12
-rw-r--r--acct-user/nvpd/nvpd-0.ebuild12
2 files changed, 24 insertions, 0 deletions
diff --git a/acct-user/nvpd/metadata.xml b/acct-user/nvpd/metadata.xml
new file mode 100644
index 000000000000..f65b774ed444
--- /dev/null
+++ b/acct-user/nvpd/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>sudinave@gmail.com</email>
+ <name>Ionen Wolkens</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/acct-user/nvpd/nvpd-0.ebuild b/acct-user/nvpd/nvpd-0.ebuild
new file mode 100644
index 000000000000..fa3633c7862e
--- /dev/null
+++ b/acct-user/nvpd/nvpd-0.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="User for nvidia-persistenced"
+ACCT_USER_ID=458
+ACCT_USER_GROUPS=( video )
+
+acct-user_add_deps