The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/6017

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
These aliases are needed for Funtoo Linux.

Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
From a9da3e40f62a7af105f8dfebb7373c84f4a172d1 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Fri, 26 Jul 2019 18:11:30 +0200
Subject: [PATCH] shared/osarch: Add more aliases

These aliases are needed for Funtoo Linux.

Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
---
 shared/osarch/architectures.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/shared/osarch/architectures.go b/shared/osarch/architectures.go
index 172cc76d2c..2956acfb0a 100644
--- a/shared/osarch/architectures.go
+++ b/shared/osarch/architectures.go
@@ -28,10 +28,10 @@ var architectureNames = map[int]string{
 }
 
 var architectureAliases = map[int][]string{
-       ARCH_32BIT_INTEL_X86:             {"i386", "i586", "386", "x86"},
-       ARCH_64BIT_INTEL_X86:             {"amd64"},
-       ARCH_32BIT_ARMV7_LITTLE_ENDIAN:   {"armel", "armhf", "arm", "armhfp", 
"armv7a_hardfp", "armv7"},
-       ARCH_64BIT_ARMV8_LITTLE_ENDIAN:   {"arm64"},
+       ARCH_32BIT_INTEL_X86:             {"i386", "i586", "386", "x86", 
"generic_32"},
+       ARCH_64BIT_INTEL_X86:             {"amd64", "generic_64"},
+       ARCH_32BIT_ARMV7_LITTLE_ENDIAN:   {"armel", "armhf", "arm", "armhfp", 
"armv7a_hardfp", "armv7", "armv7a_vfpv3_hardfp"},
+       ARCH_64BIT_ARMV8_LITTLE_ENDIAN:   {"arm64", "arm64_generic"},
        ARCH_32BIT_POWERPC_BIG_ENDIAN:    {"powerpc"},
        ARCH_64BIT_POWERPC_BIG_ENDIAN:    {"powerpc64", "ppc64"},
        ARCH_64BIT_POWERPC_LITTLE_ENDIAN: {"ppc64el"},
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to