瀏覽代碼

Use fakeroot for NVIDIA driver

Seungmin Kim 1 年之前
父節點
當前提交
a89ccd4076
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      entrypoint.sh

+ 1 - 1
entrypoint.sh

@@ -56,7 +56,7 @@ if ! command -v nvidia-xconfig &> /dev/null; then
   sh "NVIDIA-Linux-${DRIVER_ARCH}-${DRIVER_VERSION}.run" -x
   cd "NVIDIA-Linux-${DRIVER_ARCH}-${DRIVER_VERSION}"
   # Run installation without the kernel modules and host components
-  ./nvidia-installer --silent \
+  sudo ./nvidia-installer --silent \
                     --no-kernel-module \
                     --install-compat32-libs \
                     --no-nouveau-check \