Install Clang and Polly and add error reporting for Akmods modules

This commit is contained in:
Anders Rytter Hansen 2025-06-10 09:23:59 +02:00
commit 8ddb810e08
2 changed files with 11 additions and 2 deletions

View file

@ -2,4 +2,10 @@
KERNEL_VERSION="$(rpm -q $1 --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
if ls /tmp/nvidia/*.failed.log >/dev/null 2>&1; then
cat /tmp/nvidia/*.failed.log
else
echo "No error files present. Akmods modules were built successfully."
fi
rpm-ostree install /tmp/nvidia/*${KERNEL_VERSION}*.rpm