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:
parent
ee5ca88668
commit
1792b8c0f3
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user