Skip to content

Commit 040dccc

Browse files
SuperKaliigorpecovnik
authored andcommitted
dlrouter.yaml: register boot-payload and hyperv.zip.xz specialExtensions
The JSON generator emits file_extension values like boe.img.xz, csot.img.xz, kebab.img.xz and recovery.img.xz (derived from the boot_<soc>-<board>-<flavor> companion files) and hyperv.zip.xz for Hyper-V cloud images. For each, REDI_URL gets a matching "-<flavor>" suffix. Without these entries in specialExtensions, loadMapJSON never appends the suffix when building the map key, so the generated redi_url never resolves and the image 404s through the mirror. Audit in armbian/armbian.github.io#277 flagged 9 such URLs (xiaomi-elish, oneplus-kebab, uefi-arm64/x86 hyperv builds). Refs: #39 Refs: armbian/armbian.github.io#277
1 parent 27036b6 commit 040dccc

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

dlrouter.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,15 @@ specialExtensions:
5858
boot-sms.img.xz: -boot-sms
5959
boot-boe.img.xz: -boot-boe
6060
boot-csot.img.xz: -boot-csot
61+
# Boot payload companion files (generator emits "<flavor>.img.xz" after stripping
62+
# the ".boot_<soc>-<board>-<flavor>" prefix; REDI_URL gets a "-<flavor>" suffix)
63+
boe.img.xz: -boe
64+
csot.img.xz: -csot
65+
kebab.img.xz: -kebab
66+
recovery.img.xz: -recovery
6167
rootfs.img.xz: -rootfs
68+
# Hyper-V cloud images
69+
hyperv.zip.xz: -hyperv
6270
img.qcow2: -qcow2
6371
img.qcow2.xz: -qcow2
6472
boot.bin.xz: -uboot-bin

0 commit comments

Comments
 (0)