From f034dd00d9269ac1d2877ff62532e1807b17ad30 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Tue, 9 Apr 2019 15:49:37 +0000 Subject: [PATCH] Fix Fedora aarch64 image location It used to be considered a 'secondary architecture' but that is not the case anymore. Change-Id: I8e5e9cfa915c8a3c979ff9db26477c0542d271db --- .../elements/fedora/root.d/10-fedora-cloud-image | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diskimage_builder/elements/fedora/root.d/10-fedora-cloud-image b/diskimage_builder/elements/fedora/root.d/10-fedora-cloud-image index be7a3fbc..11650656 100755 --- a/diskimage_builder/elements/fedora/root.d/10-fedora-cloud-image +++ b/diskimage_builder/elements/fedora/root.d/10-fedora-cloud-image @@ -25,14 +25,14 @@ if [ -n "$DIB_LOCAL_IMAGE" ]; then else # note default DIB_RELEASE set in environment setup case ${ARCH} in - x86_64) + x86_64|aarch64) if [[ ${DIB_RELEASE} -ge 28 ]]; then DIB_CLOUD_IMAGES=${DIB_CLOUD_IMAGES:-https://download.fedoraproject.org/pub/fedora/linux/releases/${DIB_RELEASE}/Cloud/${ARCH}/images} else DIB_CLOUD_IMAGES=${DIB_CLOUD_IMAGES:-https://download.fedoraproject.org/pub/fedora/linux/releases/${DIB_RELEASE}/CloudImages/${ARCH}/images} fi ;; - aarch64|ppc64|ppc64le) + ppc64|ppc64le) if [[ ${DIB_RELEASE} -ge 28 ]]; then DIB_CLOUD_IMAGES=${DIB_CLOUD_IMAGES:-https://dl.fedoraproject.org/pub/fedora-secondary/releases/${DIB_RELEASE}/Cloud/${ARCH}/images} else