Usage of "downloads.openwrt.org" instead of "archive.openwrt.org"

This commit is contained in:
Albrecht Lohofener
2025-06-26 07:31:39 +02:00
parent 7028c11548
commit da3b00d526
+2 -2
View File
@@ -102,7 +102,7 @@ RUN echo "Building for platform '$TARGETPLATFORM'" \
VERSION_BUILDINFO=`cat version.buildinfo`; \
OPENWRT_IMAGE="https://downloads.openwrt.org/releases/24.10-SNAPSHOT/targets/x86/64/openwrt-24.10-snapshot-${VERSION_BUILDINFO}-x86-64-generic-squashfs-combined-efi.img.gz"; \
else \
OPENWRT_IMAGE="https://archive.openwrt.org/releases/${OPENWRT_VERSION}/targets/x86/64/openwrt-${OPENWRT_VERSION}-x86-64-generic-squashfs-combined-efi.img.gz"; \
OPENWRT_IMAGE="https://downloads.openwrt.org/releases/${OPENWRT_VERSION}/targets/x86/64/openwrt-${OPENWRT_VERSION}-x86-64-generic-squashfs-combined-efi.img.gz"; \
fi; \
elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
if [ "$OPENWRT_VERSION" = "master" ]; then \
@@ -112,7 +112,7 @@ RUN echo "Building for platform '$TARGETPLATFORM'" \
VERSION_BUILDINFO=`cat version.buildinfo`; \
OPENWRT_IMAGE="https://downloads.openwrt.org/releases/24.10-SNAPSHOT/targets/armsr/armv8/openwrt-24.10-snapshot-${VERSION_BUILDINFO}-armsr-armv8-generic-squashfs-combined-efi.img.gz"; \
else \
OPENWRT_IMAGE="https://archive.openwrt.org/releases/${OPENWRT_VERSION}/targets/armsr/armv8/openwrt-${OPENWRT_VERSION}-armsr-armv8-generic-squashfs-combined-efi.img.gz"; \
OPENWRT_IMAGE="https://downloads.openwrt.org/releases/${OPENWRT_VERSION}/targets/armsr/armv8/openwrt-${OPENWRT_VERSION}-armsr-armv8-generic-squashfs-combined-efi.img.gz"; \
fi; \
else \
echo "Error: CPU architecture $TARGETPLATFORM is not supported"; \