]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: filogic: fix Globitel BT-R320 recovery image name 24059/head
authorsolodecode <zikwarface134@gmail.com>
Fri, 3 Jul 2026 18:33:18 +0000 (21:33 +0300)
committerRobert Marko <robimarko@gmail.com>
Sat, 4 Jul 2026 16:02:38 +0000 (18:02 +0200)
The initramfs image name already contains "-initramfs". Using "-initramfs-recovery.itb" as the suffix makes the BT-R320 recovery artifact contain it twice.

Use "-recovery.itb" instead.

Fixes: a3105d3f9573 ("mediatek: filogic: add support for Globitel BT-R320")
Signed-off-by: solodecode <zikwarface134@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/24059
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/mediatek/image/filogic.mk

index 8a611c36c7b82f9efea886b9020dbd47f5780635..172468806869ec665ba5e40b7ad9bb87c1b4bb0e 100644 (file)
@@ -1837,7 +1837,7 @@ define Device/globitel_bt-r320
   KERNEL := kernel-bin | lzma
   KERNEL_INITRAMFS := kernel-bin | lzma | \
        fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb with-initrd | pad-to 64k
-  KERNEL_INITRAMFS_SUFFIX := -initramfs-recovery.itb
+  KERNEL_INITRAMFS_SUFFIX := -recovery.itb
   IMAGES := sysupgrade.itb
   IMAGE_SIZE := $$(shell expr 64 + $$(CONFIG_TARGET_ROOTFS_PARTSIZE))m
   IMAGE/sysupgrade.itb := append-kernel | \