Make akmods use correct kernel version
Without speficying the version akmods builds for the current kernel (host kernel).
This commit is contained in:
parent
bd99c93e02
commit
e85e38aef5
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ RUN rpm-ostree override remove bash-color-prompt
|
|||
|
||||
# Install nvidia drivers
|
||||
RUN rpm-ostree install akmod-nvidia xorg-x11-drv-nvidia-cuda && \
|
||||
akmods --force
|
||||
akmods --force --kernels $(rpm -qa kernel | sed 's/kernel-//g')
|
||||
|
||||
# Remove rpm metadata cache
|
||||
RUN rpm-ostree cleanup --repomd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue