summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2020-05-29 16:13:12 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-05-29 16:15:09 +0300
commite6fffc5b9d9ed704179a53f98367aa8ebe6f17f0 (patch)
treef6bd7fbfb25b83ddf4ddc84ac20d647cb85d5041 /app-emulation/lxc/files/lxc-2.1.1-fix-cgroup2-detection.patch
parentapp-emulation/lxc: clean old 3.1.0 (diff)
downloadgentoo-e6fffc5b9d9ed704179a53f98367aa8ebe6f17f0.tar.gz
gentoo-e6fffc5b9d9ed704179a53f98367aa8ebe6f17f0.tar.bz2
gentoo-e6fffc5b9d9ed704179a53f98367aa8ebe6f17f0.zip
app-emulation/lxc: remove unused patch files
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-emulation/lxc/files/lxc-2.1.1-fix-cgroup2-detection.patch')
-rw-r--r--app-emulation/lxc/files/lxc-2.1.1-fix-cgroup2-detection.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/app-emulation/lxc/files/lxc-2.1.1-fix-cgroup2-detection.patch b/app-emulation/lxc/files/lxc-2.1.1-fix-cgroup2-detection.patch
deleted file mode 100644
index c16d28ac303..00000000000
--- a/app-emulation/lxc/files/lxc-2.1.1-fix-cgroup2-detection.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From cdfe90a49f516b0f1210d181980f14a4765e10da Mon Sep 17 00:00:00 2001
-From: Christian Brauner <christian.brauner@ubuntu.com>
-Date: Mon, 30 Oct 2017 14:17:20 +0100
-Subject: [PATCH] cgfsng: fix cgroup2 detection
-
-Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
----
- src/lxc/cgroups/cgfsng.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/lxc/cgroups/cgfsng.c b/src/lxc/cgroups/cgfsng.c
-index 897336f0..e43edd7d 100644
---- a/src/lxc/cgroups/cgfsng.c
-+++ b/src/lxc/cgroups/cgfsng.c
-@@ -815,7 +815,7 @@ static void add_controller(char **clist, char *mountpoint, char *base_cgroup)
- new->fullcgpath = NULL;
-
- /* record if this is the cgroup v2 hierarchy */
-- if (!strcmp(base_cgroup, "cgroup2"))
-+ if (clist && !strcmp(*clist, "cgroup2"))
- new->is_cgroup_v2 = true;
- else
- new->is_cgroup_v2 = false;
---
-2.13.6
-