Add rule to SELinux allowing modules to be loaded into custom kernel

This commit is contained in:
Anders Rytter Hansen 2025-08-03 00:08:06 -03:00
commit 5347bd0181

View file

@ -35,5 +35,8 @@ RUN dnf remove -y plocate
RUN systemctl disable nvidia-powerd
# Add rule to SELinux allowing modules to be loaded into custom kernel
RUN setsebool -P domain_kernel_load_modules on
RUN rm -rf /tmp/* /var/* && mkdir -p /var/tmp && chmod -R 1777 /var/tmp && \
bootc container lint