summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2025-01-15 19:50:53 +0100
committerZac Medico <zmedico@gentoo.org>2025-01-15 13:40:40 -0800
commite13097fab6cfcd97feece06d68f1e96ebac8d7c7 (patch)
tree607cd0372d1425c59c132e325a32d7cc0429b9f6 /app-containers/crun
parentapp-containers/containers-image: remove unused patches (diff)
downloadgentoo-e13097fab6cfcd97feece06d68f1e96ebac8d7c7.tar.gz
gentoo-e13097fab6cfcd97feece06d68f1e96ebac8d7c7.tar.bz2
gentoo-e13097fab6cfcd97feece06d68f1e96ebac8d7c7.zip
app-containers/crun: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> From: https://github.com/gentoo/gentoo/pull/40151 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-containers/crun')
-rw-r--r--app-containers/crun/files/crun-1.11.2-caps.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/app-containers/crun/files/crun-1.11.2-caps.patch b/app-containers/crun/files/crun-1.11.2-caps.patch
deleted file mode 100644
index d32a4dd1a8f8..000000000000
--- a/app-containers/crun/files/crun-1.11.2-caps.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 767ba88ef363115e80e077ce312f89f20488da01 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Robert=20G=C3=BCnzler?= <r@gnzler.io>
-Date: Thu, 9 Nov 2023 14:16:08 +0100
-Subject: [PATCH] Fix build without libcap
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-The work to support features introduced another point of dependency on
-libcap that previously wasn't guarded by ifdefs
-
-Refs: https://github.com/containers/crun/pull/1237
-Signed-off-by: Robert Günzler <r@gnzler.io>
----
- src/libcrun/container.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/libcrun/container.c b/src/libcrun/container.c
-index ed0fa29bb..7be1713ab 100644
---- a/src/libcrun/container.c
-+++ b/src/libcrun/container.c
-@@ -3925,8 +3925,10 @@ libcrun_container_get_features (libcrun_context_t *context, struct features_info
- // Populate namespaces
- populate_array_field (&((*info)->linux.namespaces), namespaces, num_namspaces);
-
-+#ifdef HAVE_CAP
- // Populate capabilities
- populate_capabilities (*info, &capabilities, &num_capabilities);
-+#endif
-
- // Hardcode the values for cgroup
- (*info)->linux.cgroup.v1 = true;