1
0
Fork 0

fix: use correct kernel version
Some checks failed
/ Build onc-kde:main (push) Successful in 16m53s
/ Build onc-kde:main-nvidia (push) Failing after 4m49s
/ Build onc-kde:main-nvidia-ver4a (push) Has been skipped
/ Build onc-kde:main-ver4a (push) Successful in 6m44s

uname reports running/host kernel, we need the kernel contained in the
image, that's the one that'll be running on a booted system. This same
thing applies to the nvidia layer where I used the same method as I do
here now.
This commit is contained in:
ver4a 2026-01-25 22:40:42 +01:00
parent 26be9035bd
commit befe1df9a3

View file

@ -63,7 +63,7 @@ COPY etc /etc
COPY usr /usr
# fix-up kconfig path
RUN sed -i "/SCX_FLAGS=/ s/$/ --kconfig \/usr\/lib\/modules\/$(uname -r)\/config/" /etc/default/scx
RUN sed -i "/SCX_FLAGS=/ s/$/ --kconfig \/usr\/lib\/modules\/$(rpm -qa kernel | sed 's/kernel-//g')\/config/" /etc/default/scx
# Apply hardened firewall configuration
RUN firewall-offline-cmd --set-default-zone public