From 1792b8c0f3b5ae1a26a0272a181a447c802b70c2 Mon Sep 17 00:00:00 2001 From: Niklaus 'vimja' Hofer Date: Fri, 1 Jul 2022 23:48:30 +0200 Subject: [PATCH] templates/lxc-gentoo.in: Propperly handle aarch64. Gentoo uses arm64 in the download path. See http://distfiles.gentoo.org/releases/arm64/autobuilds/ --- templates/lxc-gentoo.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/lxc-gentoo.in b/templates/lxc-gentoo.in index 7e07188..adb1e61 100644 --- a/templates/lxc-gentoo.in +++ b/templates/lxc-gentoo.in @@ -89,6 +89,9 @@ set_default_arch() elif [[ $arch =~ arm.* ]]; then arch="arm" variant="armv7a" + elif [[ $arch == "aarch64" ]]; then + arch="arm64" + variant="arm64-openrc" else #who knows, it may work... printf " => warn: unexpected arch:${arch} let me knows if it works :)\n"