diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-09-12 11:01:47 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-09-12 11:01:47 +0200 |
commit | a5690657b1cbf21cd4c6fc4170e63442a8c72d72 (patch) | |
tree | 6d09c925f0f21d98da483bdcd93204149aa0e459 /main/lxc | |
parent | 6e7837ddf15ec6aaa7e9e6b50ef0faebdb6e54ae (diff) | |
download | aports-a5690657b1cbf21cd4c6fc4170e63442a8c72d72.tar.bz2 aports-a5690657b1cbf21cd4c6fc4170e63442a8c72d72.tar.xz |
main/lxc: add missing patch
Diffstat (limited to 'main/lxc')
-rw-r--r-- | main/lxc/add_more_archs.patch | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/main/lxc/add_more_archs.patch b/main/lxc/add_more_archs.patch new file mode 100644 index 0000000000..078dd05a43 --- /dev/null +++ b/main/lxc/add_more_archs.patch @@ -0,0 +1,69 @@ +From e319eb3478799207d3185bfc780b94d0959ea627 Mon Sep 17 00:00:00 2001 +From: James Cowgill <james410@cowgill.org.uk> +Date: Thu, 18 Aug 2016 14:27:35 +0100 +Subject: [PATCH] seccomp: Add mips and mips64 entries to lxc_config_parse_arch + +Fixes "unsupported personality" warnings when starting containers. + +Signed-off-by: James Cowgill <james410@cowgill.org.uk> +--- + src/lxc/confile.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/lxc/confile.c b/src/lxc/confile.c +index 5ce2dc4..f5e639d 100644 +--- a/src/lxc/confile.c ++++ b/src/lxc/confile.c +@@ -2079,9 +2079,13 @@ signed long lxc_config_parse_arch(const char *arch) + { "i586", PER_LINUX32 }, + { "i686", PER_LINUX32 }, + { "athlon", PER_LINUX32 }, ++ { "mips", PER_LINUX32 }, ++ { "mipsel", PER_LINUX32 }, + { "linux64", PER_LINUX }, + { "x86_64", PER_LINUX }, + { "amd64", PER_LINUX }, ++ { "mips64", PER_LINUX }, ++ { "mips64el", PER_LINUX }, + }; + size_t len = sizeof(pername) / sizeof(pername[0]); + +From 08245e8c1b77eb068c3e3b41c787e5b170554aad Mon Sep 17 00:00:00 2001 +From: Christian Brauner <cbrauner@suse.de> +Date: Fri, 19 Aug 2016 11:15:30 +0200 +Subject: [PATCH] confile: add more archs to lxc_config_parse_arch() + +Signed-off-by: Christian Brauner <cbrauner@suse.de> +--- + src/lxc/confile.c | 13 +++++++++++++ + 1 file changed, 13 insertions(+) + +diff --git a/src/lxc/confile.c b/src/lxc/confile.c +index f5e639d..fac919d 100644 +--- a/src/lxc/confile.c ++++ b/src/lxc/confile.c +@@ -2081,11 +2081,24 @@ signed long lxc_config_parse_arch(const char *arch) + { "athlon", PER_LINUX32 }, + { "mips", PER_LINUX32 }, + { "mipsel", PER_LINUX32 }, ++ { "ppc", PER_LINUX32 }, ++ { "arm", PER_LINUX32 }, ++ { "armv7l", PER_LINUX32 }, ++ { "armhf", PER_LINUX32 }, ++ { "armel", PER_LINUX32 }, ++ { "powerpc", PER_LINUX32 }, + { "linux64", PER_LINUX }, + { "x86_64", PER_LINUX }, + { "amd64", PER_LINUX }, + { "mips64", PER_LINUX }, + { "mips64el", PER_LINUX }, ++ { "ppc64", PER_LINUX }, ++ { "ppc64le", PER_LINUX }, ++ { "ppc64el", PER_LINUX }, ++ { "powerpc64", PER_LINUX }, ++ { "s390x", PER_LINUX }, ++ { "aarch64", PER_LINUX }, ++ { "arm64", PER_LINUX }, + }; + size_t len = sizeof(pername) / sizeof(pername[0]); + |