From 54079185f9dc20a56c39e73d360d724e3c75971b Mon Sep 17 00:00:00 2001 From: Enrique Belarte Luque Date: Tue, 2 Jul 2024 12:27:21 -0500 Subject: [PATCH] Add fix for libdnf --- training/intel-bootc/Containerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/training/intel-bootc/Containerfile b/training/intel-bootc/Containerfile index 749cb615..08d2b03d 100644 --- a/training/intel-bootc/Containerfile +++ b/training/intel-bootc/Containerfile @@ -45,11 +45,13 @@ RUN . /etc/os-release \ && mv /tmp/firmware/habanalabs /lib/firmware \ && depmod -a ${KERNEL_VERSION}.${TARGET_ARCH} -RUN dnf install -y ${EXTRA_RPM_PACKAGES} \ +RUN mv /etc/selinux /etc/selinux.tmp \ + && dnf install -y ${EXTRA_RPM_PACKAGES} \ cloud-init \ rsync \ && dnf clean all \ - && ln -s ../cloud-init.target /usr/lib/systemd/system/default.target.wants + && ln -s ../cloud-init.target /usr/lib/systemd/system/default.target.wants \ + && mv /etc/selinux.tmp /etc/selinux ARG INSTRUCTLAB_IMAGE="quay.io/ai-lab/instructlab-intel:latest"