From 9409e63da4d811ebdbcc8086ccdd1b64b3bd5ad6 Mon Sep 17 00:00:00 2001 From: Enrique Belarte Luque Date: Tue, 25 Jun 2024 13:11:50 -0500 Subject: [PATCH] Temp workaround for amd-bootc Signed-off-by: Enrique Belarte Luque --- training/amd-bootc/Containerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/training/amd-bootc/Containerfile b/training/amd-bootc/Containerfile index faf3a006..cae5c98f 100644 --- a/training/amd-bootc/Containerfile +++ b/training/amd-bootc/Containerfile @@ -11,7 +11,8 @@ FROM ${BASEIMAGE} ADD rocm.repo /etc/yum.repos.d/rocm.repo ARG EXTRA_RPM_PACKAGES='' -RUN dnf install -y \ +RUN mv /etc/selinux /etc/selinux.tmp && \ + dnf install -y \ cloud-init \ pciutils \ rocm-smi \ @@ -19,6 +20,7 @@ RUN dnf install -y \ rsync \ ${EXTRA_RPM_PACKAGES} \ && dnf clean all \ + && mv /etc/selinux /etc/selinux.tmp \ && ln -s ../cloud-init.target /usr/lib/systemd/system/default.target.wants # Enable cloud-init # Setup /usr/lib/containers/storage as an additional store for images.