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.
This commit is contained in:
parent
fbe63af1bf
commit
1165bdc3e4
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue