[openwrt/openwrt] mediatek: bpi-r64: fix sdcard.img.gz in ImageBuilder

LEDE Commits lede-commits at lists.infradead.org
Fri Apr 23 23:17:26 BST 2021


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/210916c9e6797e4e520970bafba12e49e98dc834

commit 210916c9e6797e4e520970bafba12e49e98dc834
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Fri Apr 23 23:10:08 2021 +0100

    mediatek: bpi-r64: fix sdcard.img.gz in ImageBuilder
    
    Generating the sdcard.img.gz file requires the initramfs/recovery
    image to be present. Use the newly introduced 'append-image-stage'
    build command to fix the ImageBuilder for the BPi-R64.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 target/linux/mediatek/image/mt7622.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mediatek/image/mt7622.mk b/target/linux/mediatek/image/mt7622.mk
index 58dc578d39..07a15edb9e 100644
--- a/target/linux/mediatek/image/mt7622.mk
+++ b/target/linux/mediatek/image/mt7622.mk
@@ -84,7 +84,7 @@ define Device/bananapi_bpi-r64
   ARTIFACT/sdcard.img.gz	:= mt7622-gpt sdmmc |\
 				   pad-to 512k | bl2 sdmmc-2ddr |\
 				   pad-to 2048k | bl31-uboot bananapi_bpi-r64-sdmmc |\
-				   pad-to 6144k | append-image initramfs-recovery.itb |\
+				   pad-to 6144k | append-image-stage initramfs-recovery.itb |\
 				   pad-to 38912k | mt7622-gpt emmc |\
 				   pad-to 39424k | bl2 emmc-2ddr |\
 				   pad-to 40960k | bl31-uboot bananapi_bpi-r64-emmc |\



More information about the lede-commits mailing list