openwrt/target/linux/at91/image
Petr Štetiar 5c3679e39b at91: sama7: fix racy SD card image generation
We've few low spec (make -j3) build workers attached to the 22.03
buildbot instance which from time to time exhibit following build
failure during image generation:

 + dd bs=512 if=root.ext4 of=openwrt-22.03-snapshot-r20028-43d71ad93e-at91-sama7-microchip_sama7g5-ek-ext4-sdcard.img.gz.img seek=135168 conv=notrunc
 dd: failed to open 'root.ext4': No such file or directory

Thats likely due to the fact, that on buildbots we've
`TARGET_PER_DEVICE_ROOTFS=y` which produces differently named filesystem
image in the SD card image target dependency chain:

 make_ext4fs -L rootfs ... root.ext4+pkg=68b329da

and that hardcoded root.ext4 becomes available from other target in the
later stages. So lets fix this issue by using IMAGE_ROOTFS Make variable
which should contain proper path to the root filesystem image.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2023-01-11 15:16:52 +01:00
..
dfboot fix dfboot linking failures (#5937) 2009-10-29 15:48:34 +00:00
Config.in at91: Remove u-boot from platform images folder 2016-10-06 12:15:13 +02:00
gen_at91_sdcard_img.sh target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
sam9x.mk target/at91: replace gpio-mcp23s08 with pinctrl-mcp23s08-spi update config 2022-10-30 23:14:45 +01:00
sama5.mk at91bootstrap: use sdmmc0 as booting media for sama5d27_som1_ek 2022-09-02 20:43:51 +02:00
sama7.mk at91: sama7: fix racy SD card image generation 2023-01-11 15:16:52 +01:00
uboot-env.txt uboot-at91: use sdmmc0 as booting media for sama5d27_som1_ek 2022-09-02 20:43:51 +02:00