From 967bdcfaa980549fa4a4fff99df149c92a32667f Mon Sep 17 00:00:00 2001 From: Ian McLinden Date: Thu, 14 May 2020 12:16:09 -0500 Subject: [PATCH] Add debian install rules for arm64 --- hooks/debian/80-install-kernel | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hooks/debian/80-install-kernel b/hooks/debian/80-install-kernel index bb01d25..3e46b34 100755 --- a/hooks/debian/80-install-kernel +++ b/hooks/debian/80-install-kernel @@ -36,12 +36,16 @@ if [ "${arch}" = "i386" ]; then XEN_ARCH="686" elif [ "${arch}" = "amd64" ]; then XEN_ARCH="amd64" +elif [ "${arch}" = "arm64" ]; then + XEN_ARCH="arm64" elif [ -z "${arch}" ]; then UNAME_ARCH=`uname -m` if [ "${UNAME_ARCH}" = "i686" ]; then XEN_ARCH="686" elif [ "${UNAME_ARCH}" = "x86_64" ]; then XEN_ARCH="amd64" + elif [ "${UNAME_ARCH}" = "aarch64" ]; then + XEN_ARCH="arm64" else logMessage Unknown kernel architecture ${UNAME_ARCH}. logMessage Please report this as bug to xen-tools-dev@xen-tools.org.