From 12bc481788e2220187f4a02c2b9b41d485fb3d33 Mon Sep 17 00:00:00 2001 From: Santhosh Date: Fri, 8 Dec 2023 10:59:35 +0530 Subject: [PATCH] copy apparmor to path for sles --- Earthfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Earthfile b/Earthfile index bfc491a..59e3b8f 100644 --- a/Earthfile +++ b/Earthfile @@ -297,6 +297,10 @@ base-image: RUN cp /sbin/apparmor_parser /usr/bin/apparmor_parser END + IF [ "$OS_DISTRIBUTION" = "sles" ] + RUN cp /sbin/apparmor_parser /usr/bin/apparmor_parser + END + IF [ "$ARCH" = "arm64" ] RUN mkdir -p /etc/luet/repos.conf.d && luet repo add spectro --type docker --url gcr.io/spectro-dev-public/luet-repo-arm --priority 1 -y && luet repo update ELSE IF [ "$ARCH" = "amd64" ]