From 1165bdc3e4d16e5278a2be6e206beed3b72b048c Mon Sep 17 00:00:00 2001 From: ver4a Date: Sun, 25 Jan 2026 19:08:40 +0100 Subject: [PATCH] fix: fix-up the kconfig path for csx_lavd 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. --- containers/Dockerfile.kde | 3 +++ 1 file changed, 3 insertions(+) diff --git a/containers/Dockerfile.kde b/containers/Dockerfile.kde index 5e9710e..94fe782 100644 --- a/containers/Dockerfile.kde +++ b/containers/Dockerfile.kde @@ -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