commit: c093eafea3da66f98b84d2754e6f293eba585815 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Sun Jan 7 18:11:14 2024 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Sun Jan 7 18:15:11 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c093eafe
x11-drivers/nvidia-drivers: add /dev/nvidia-caps to sandbox predict Only needed for 545 branch and above for packages using nvml. Likely only needed when they attempt to use it rather than just link with it, so this may be specific to hwloc's tests. But given it's new and scope is uncertain, let's add it here rather than hwloc itself. Closes: https://bugs.gentoo.org/921578 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> ...-drivers-545.29.06.ebuild => nvidia-drivers-545.29.06-r1.ebuild} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-545.29.06.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-545.29.06-r1.ebuild similarity index 98% rename from x11-drivers/nvidia-drivers/nvidia-drivers-545.29.06.ebuild rename to x11-drivers/nvidia-drivers/nvidia-drivers-545.29.06-r1.ebuild index 2525545e81b9..67b3cd7013ea 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-545.29.06.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-545.29.06-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -408,12 +408,12 @@ documentation that is installed alongside this README." # don't attempt to strip firmware files (silences errors) dostrip -x ${paths[FIRMWARE]} - # sandbox issues with /dev/nvidiactl (and /dev/char wrt bug #904292) + # sandbox issues with /dev/nvidiactl others (bug #904292,#921578) # are widespread and sometime affect revdeps of packages built with # USE=opencl/cuda making it hard to manage in ebuilds (minimal set, # ebuilds should handle manually if need others or addwrite) insinto /etc/sandbox.d - newins - 20nvidia <<<'SANDBOX_PREDICT="/dev/nvidiactl:/dev/char"' + newins - 20nvidia <<<'SANDBOX_PREDICT="/dev/nvidiactl:/dev/nvidia-caps:/dev/char"' } pkg_preinst() {
