1
0
mirror of https://github.com/lxc/lxc-templates.git synced 2024-12-22 06:20:13 +00:00

templates/lxc-gentoo.in: Propperly handle aarch64.

Gentoo uses arm64 in the download path. See

  http://distfiles.gentoo.org/releases/arm64/autobuilds/
This commit is contained in:
Niklaus 'vimja' Hofer 2022-07-01 23:48:30 +02:00
parent ee5ca88668
commit 1792b8c0f3

View File

@ -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"