check if kernel-headers is installed.
This commit is contained in:
parent
4435719ce0
commit
ee0b9e47bb
2 changed files with 14 additions and 1 deletions
|
|
@ -59,10 +59,11 @@ RUN systemctl enable scx.service
|
|||
|
||||
COPY --from=akmods-builder /var/cache/akmods/*/* /tmp/nvidia
|
||||
|
||||
COPY install_cachyos_kernel.sh /tmp
|
||||
# Enable cliwrap.
|
||||
RUN rpm-ostree cliwrap install-to-root / && \
|
||||
# Replace the kernel, kernel-core and kernel-modules packages.
|
||||
rpm-ostree override remove kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra kernel-headers --install kernel-cachyos-lto
|
||||
/tmp/install_cachyos_kernel.sh
|
||||
|
||||
# install kernel headers
|
||||
RUN rpm-ostree install kernel-cachyos-lto-headers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue