1
0
mirror of https://github.com/lxc/lxc-templates.git synced 2024-12-22 14:30:31 +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 elif [[ $arch =~ arm.* ]]; then
arch="arm" arch="arm"
variant="armv7a" variant="armv7a"
elif [[ $arch == "aarch64" ]]; then
arch="arm64"
variant="arm64-openrc"
else else
#who knows, it may work... #who knows, it may work...
printf " => warn: unexpected arch:${arch} let me knows if it works :)\n" printf " => warn: unexpected arch:${arch} let me knows if it works :)\n"