Commit 9891ca95 by Christian Brauner Committed by Stéphane Graber

confile: add more archs to lxc_config_parse_arch()

parent 2141c533
...@@ -1793,11 +1793,24 @@ signed long lxc_config_parse_arch(const char *arch) ...@@ -1793,11 +1793,24 @@ signed long lxc_config_parse_arch(const char *arch)
{ "athlon", PER_LINUX32 }, { "athlon", PER_LINUX32 },
{ "mips", PER_LINUX32 }, { "mips", PER_LINUX32 },
{ "mipsel", 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 }, { "linux64", PER_LINUX },
{ "x86_64", PER_LINUX }, { "x86_64", PER_LINUX },
{ "amd64", PER_LINUX }, { "amd64", PER_LINUX },
{ "mips64", PER_LINUX }, { "mips64", PER_LINUX },
{ "mips64el", 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]); size_t len = sizeof(pername) / sizeof(pername[0]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment