my-ostree-OS/install-nvidia.sh
Anders Rytter Hansen 1efd797be9 Squashed commit of the following:
commit 50287bb0c0102e97b74f1cb584060cab0f4da99d
Author: Anders Rytter Hansen <andersr+github@rytter.me>
Date:   Mon Oct 9 21:03:03 2023 +0200

    Update Dockerfile

commit a27ba30efd066357771441361bbf0d7cef91561c
Author: Anders Rytter Hansen <andersr+github@rytter.me>
Date:   Mon Oct 9 21:01:32 2023 +0200

    change to newest kernel
2023-10-10 09:35:48 +02:00

5 lines
166 B
Bash
Executable file

#!/bin/sh
KERNEL_VERSION="$(rpm -q kernel-cachyos-bore-eevdf --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
rpm-ostree install /tmp/nvidia/*${KERNEL_VERSION}*.rpm