summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-15 13:56:09 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-15 16:06:46 -0400
commitb0fd6848a653bc6032b9281ad247e1f97b3bb171 (patch)
tree23860e670dc7bbc35a1c29a2956c90af7917d5a8 /x11-drivers
parentx11-drivers/nvidia-drivers: drop 515.76 (diff)
downloadgentoo-b0fd6848a653bc6032b9281ad247e1f97b3bb171.tar.gz
gentoo-b0fd6848a653bc6032b9281ad247e1f97b3bb171.tar.bz2
gentoo-b0fd6848a653bc6032b9281ad247e1f97b3bb171.zip
x11-drivers/nvidia-drivers: use the new systemd_get_sleepdir
Bug: https://bugs.gentoo.org/873172 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-470.141.03.ebuild3
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-510.85.02.ebuild3
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-515.49.19.ebuild3
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-515.65.01.ebuild3
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-520.56.06.ebuild3
5 files changed, 10 insertions, 5 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.141.03.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-470.141.03.ebuild
index 1ff546ca2442..f9afe49ec860 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.141.03.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.141.03.ebuild
@@ -441,7 +441,8 @@ https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers"
done < .manifest || die
# MODULE:installer non-skipped extras
- exeinto /lib/systemd/system-sleep
+ : "$(systemd_get_sleepdir)"
+ exeinto "${_#"${EPREFIX}"}"
doexe systemd/system-sleep/nvidia
dobin systemd/nvidia-sleep.sh
systemd_dounit systemd/system/nvidia-{hibernate,resume,suspend}.service
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-510.85.02.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-510.85.02.ebuild
index b79e48854e9a..1dc7eb5fa6b4 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-510.85.02.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-510.85.02.ebuild
@@ -448,7 +448,8 @@ https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers"
done < .manifest || die
# MODULE:installer non-skipped extras
- exeinto /lib/systemd/system-sleep
+ : "$(systemd_get_sleepdir)"
+ exeinto "${_#"${EPREFIX}"}"
doexe systemd/system-sleep/nvidia
dobin systemd/nvidia-sleep.sh
systemd_dounit systemd/system/nvidia-{hibernate,resume,suspend}.service
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-515.49.19.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-515.49.19.ebuild
index 799f3fc68a02..ed859a1706a4 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-515.49.19.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-515.49.19.ebuild
@@ -473,7 +473,8 @@ https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers"
done < .manifest || die
# MODULE:installer non-skipped extras
- exeinto /lib/systemd/system-sleep
+ : "$(systemd_get_sleepdir)"
+ exeinto "${_#"${EPREFIX}"}"
doexe systemd/system-sleep/nvidia
dobin systemd/nvidia-sleep.sh
systemd_dounit systemd/system/nvidia-{hibernate,resume,suspend}.service
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-515.65.01.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-515.65.01.ebuild
index 2cc2949182ef..ad75fd7f6802 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-515.65.01.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-515.65.01.ebuild
@@ -479,7 +479,8 @@ https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers"
done < .manifest || die
# MODULE:installer non-skipped extras
- exeinto /lib/systemd/system-sleep
+ : "$(systemd_get_sleepdir)"
+ exeinto "${_#"${EPREFIX}"}"
doexe systemd/system-sleep/nvidia
dobin systemd/nvidia-sleep.sh
systemd_dounit systemd/system/nvidia-{hibernate,resume,suspend}.service
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-520.56.06.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-520.56.06.ebuild
index fe76e7f59697..2a8c2bddc754 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-520.56.06.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-520.56.06.ebuild
@@ -473,7 +473,8 @@ https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers"
done < .manifest || die
# MODULE:installer non-skipped extras
- exeinto /lib/systemd/system-sleep
+ : "$(systemd_get_sleepdir)"
+ exeinto "${_#"${EPREFIX}"}"
doexe systemd/system-sleep/nvidia
dobin systemd/nvidia-sleep.sh
systemd_dounit systemd/system/nvidia-{hibernate,resume,suspend}.service