remove more unused files from old fedora image
This commit is contained in:
parent
b2228f0b77
commit
f4aa78503b
3 changed files with 0 additions and 21 deletions
|
|
@ -1,7 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
KERNEL=$1
|
|
||||||
|
|
||||||
KERNEL_VERSION="$(rpm -q $KERNEL --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
|
|
||||||
|
|
||||||
akmods --force --kernels "${KERNEL_VERSION}"
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
rpm-ostree override remove kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra --install $1
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue