enable nvidia-persistenced

Co-authored-by: derpsteb <ob@edgeless.systems>
This commit is contained in:
Malte Poll 2024-04-08 18:29:50 +02:00
parent 356a1bbb6d
commit 6fa51f73d8
2 changed files with 4 additions and 0 deletions

View file

@ -5,4 +5,5 @@ enable configure-constel-csp.service
enable dbus.service
enable dbus-broker.service
enable dbus-daemon.service
enable nvidia-persistenced.service
disable auditd.service

View file

@ -20,6 +20,9 @@ echo "IMAGE_VERSION=\"${IMAGE_VERSION}\"" >> "${BUILDROOT}/etc/os-release"
# enable debugd
ln -s /usr/lib/systemd/system/debugd.service "${BUILDROOT}/etc/systemd/system/multi-user.target.wants/debugd.service"
# enable nvidia-persistenced
ln -s /usr/lib/systemd/system/nvidia-persistenced.service "${BUILDROOT}/etc/systemd/system/multi-user.target.wants/nvidia-persistenced.service"
# ensure google_nvme_id is executable
chmod o+x "${BUILDROOT}/usr/lib/udev/google_nvme_id"
chmod g+x "${BUILDROOT}/usr/lib/udev/google_nvme_id"