From cf625340a9e01a49b539569d3adc7f2c179fef86 Mon Sep 17 00:00:00 2001 From: Din Music Date: Fri, 6 Sep 2024 20:11:51 +0000 Subject: [PATCH] images/centos: Remove security.selinux extended attributes Signed-off-by: Din Music --- images/centos.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/images/centos.yaml b/images/centos.yaml index 57f891e83..1d3de5f9d 100644 --- a/images/centos.yaml +++ b/images/centos.yaml @@ -378,6 +378,16 @@ actions: releases: - 9-Stream +- trigger: post-unpack + action: |- + #!/bin/sh + # Remove security.selinux xattr. + find / -xdev -exec setfattr -x security.selinux {} 2>/dev/null \; + types: + - container + releases: + - 9-Stream + - trigger: post-packages action: |- #!/bin/sh