aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-containers/podman/files/seccomp-toggle-5.1.1.patch')
-rw-r--r--app-containers/podman/files/seccomp-toggle-5.1.1.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/app-containers/podman/files/seccomp-toggle-5.1.1.patch b/app-containers/podman/files/seccomp-toggle-5.1.1.patch
new file mode 100644
index 0000000..02adc9c
--- /dev/null
+++ b/app-containers/podman/files/seccomp-toggle-5.1.1.patch
@@ -0,0 +1,18 @@
+diff -Naur a/Makefile b/Makefile
+--- a/Makefile 2024-06-11 23:40:49.548321758 +0100
++++ b/Makefile 2024-06-11 23:42:32.662691391 +0100
+@@ -55,8 +55,12 @@
+ $(shell hack/btrfs_tag.sh) \
+ $(shell hack/systemd_tag.sh) \
+ $(shell hack/libsubid_tag.sh) \
+- exclude_graphdriver_devicemapper \
+- seccomp
++ exclude_graphdriver_devicemapper
++
++BUILD_SECCOMP ?= yes
++ifeq ($(BUILD_SECCOMP),yes)
++BUILDTAGS += seccomp
++endif
+ # allow downstreams to easily add build tags while keeping our defaults
+ BUILDTAGS += ${EXTRA_BUILDTAGS}
+ # N/B: This value is managed by Renovate, manual changes are