Skip to content

Commit

Permalink
confile: add more archs to lxc_config_parse_arch()
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <cbrauner@suse.de>
  • Loading branch information
Christian Brauner committed Aug 19, 2016
1 parent f4b5c87 commit 08245e8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/lxc/confile.c
Expand Up @@ -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]);

Expand Down

0 comments on commit 08245e8

Please sign in to comment.