Merge pull request #2169 from lsm5/rpm-config-customization-trim

RPM: use default seccomp.json profiles
This commit is contained in:
openshift-merge-bot[bot] 2024-09-20 12:53:26 +00:00 committed by GitHub
commit 5a3011c61a
1 changed files with 0 additions and 6 deletions

View File

@ -33,12 +33,6 @@ ensure storage.conf mountopt \"nodev,metacopy=on\"
ensure pkg/config/containers.conf runtime \"crun\"
ensure pkg/config/containers.conf log_driver \"journald\"
# Enable seccomp support keyctl and socketcall
grep -q \"keyctl\", pkg/seccomp/seccomp.json || sed -i '/\"kill\",/i \
"keyctl",' pkg/seccomp/seccomp.json
grep -q \"socket\", pkg/seccomp/seccomp.json || sed -i '/\"socketcall\",/i \
"socket",' pkg/seccomp/seccomp.json
FEDORA=$(rpm --eval '%{?fedora}')
RHEL=$(rpm --eval '%{?rhel}')