aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Bernardo <samuelbernardo.mail@gmail.com>2024-06-11 23:52:07 +0100
committerSamuel Bernardo <samuelbernardo.mail@gmail.com>2024-06-11 23:52:07 +0100
commit5bdb1cd0a5fd960f4610f1991ad67bd4dddfa909 (patch)
tree97eba6a5751b2892c7c7cfe731ac2919b6aa5b6d /app-containers/podman/files
parentAdd containers-common and passt updates required to podman (diff)
downloadssnb-5bdb1cd0a5fd960f4610f1991ad67bd4dddfa909.tar.gz
ssnb-5bdb1cd0a5fd960f4610f1991ad67bd4dddfa909.tar.bz2
ssnb-5bdb1cd0a5fd960f4610f1991ad67bd4dddfa909.zip
Correct seccomp patch for podman release 5.1.1.
Signed-off-by: Samuel Bernardo <samuelbernardo.mail@gmail.com>
Diffstat (limited to 'app-containers/podman/files')
-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