1
0
Fork 0

fix: fix-up the kconfig path for csx_lavd
Some checks failed
/ Build onc-kde:main (push) Has been cancelled
/ Build onc-kde:main-ver4a (push) Has been cancelled
/ Build onc-kde:main-nvidia (push) Has been cancelled
/ Build onc-kde:main-nvidia-ver4a (push) Has been cancelled

Previous commit added an environment file with command substitution,
which is not possible. This commit fixes that by generating the file
during build. This solution should be reasonably robust, because for
every image there is only a single kernel version.
This commit is contained in:
ver4a 2026-01-25 19:08:40 +01:00
parent fbe63af1bf
commit 1165bdc3e4

View file

@ -31,6 +31,9 @@ COPY --from=scx-build /build/scx/services/scx.service /usr/lib/systemd/system/sc
# dnf configuration has to be in effect during build
COPY etc/dnf /etc/dnf
# fix-up kconfig path
RUN sed -i "/SCX_FLAGS=/ s/$/ --kconfig \/usr\/lib\/modules\/$(uname -r)\/config/" /etc/default/scx
# Add rpmfusion repositories
RUN dnf5 -y install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm