[lxc-devel] [distrobuilder/master] AltLinux: Complete osarch map

stgraber on Github lxc-bot at linuxcontainers.org
Sun Apr 7 01:12:39 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 363 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190406/1b777000/attachment.bin>
-------------- next part --------------
From c505c5828b10cc6d9618083d33a11b6b39bb9771 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Sat, 6 Apr 2019 21:12:21 -0400
Subject: [PATCH] AltLinux: Complete osarch map
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: St├ęphane Graber <stgraber at ubuntu.com>
---
 shared/osarch.go | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/shared/osarch.go b/shared/osarch.go
index 3f58755..f0f67ef 100644
--- a/shared/osarch.go
+++ b/shared/osarch.go
@@ -46,12 +46,14 @@ var plamoLinuxArchitectureNames = map[int]string{
 }
 
 var altLinuxArchitectureNames = map[int]string{
-	osarch.ARCH_32BIT_INTEL_X86: "i586",
+	osarch.ARCH_32BIT_INTEL_X86:           "i586",
+	osarch.ARCH_64BIT_INTEL_X86:           "x86_64",
+	osarch.ARCH_64BIT_ARMV8_LITTLE_ENDIAN: "aarch64",
 }
 
 var distroArchitecture = map[string]map[int]string{
 	"alpinelinux": alpineLinuxArchitectureNames,
-	"altlinux":     altLinuxArchitectureNames,
+	"altlinux":    altLinuxArchitectureNames,
 	"archlinux":   archLinuxArchitectureNames,
 	"centos":      centosArchitectureNames,
 	"debian":      debianArchitectureNames,


More information about the lxc-devel mailing list