openwrt/target/linux/at91
Petr Štetiar 3b669bc3f3 at91: sam9x,sama5: 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 (shortened for brewity):

 + dd bs=512 if=root.ext4 of=openwrt-22.03...sdcard.img.gz.img
 dd: failed to open 'root.ext4': No such file or directory

Thats happening 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` image filename becomes available from
other Make targets 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.

Fixing remaining subtargets ommited in commit 5c3679e39b ("at91:
sama7: fix racy SD card image generation").

Fixes: 5c3679e39b ("at91: sama7: fix racy SD card image generation")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2023-01-11 15:23:18 +01:00
..
base-files/etc at91: add support for sama7g5-ek board 2022-02-24 19:05:29 +01:00
files/arch/arm/boot/dts at91: kernel: bump to 5.10 2021-10-24 18:52:06 +02:00
image at91: sam9x,sama5: fix racy SD card image generation 2023-01-11 15:23:18 +01:00
patches-5.10 kernel: bump 5.10 to 5.10.143 2022-09-17 14:16:37 +02:00
patches-5.15 at91: kernel v5.15: remove upstreamed patches 2022-10-22 00:51:25 +02:00
sam9x at91: Add CONFIG_NVMEM_MICROCHIP_OTPC kernel configuration option 2023-01-08 16:10:49 +01:00
sama5 at91: Add CONFIG_NVMEM_MICROCHIP_OTPC kernel configuration option 2023-01-08 16:10:49 +01:00
sama7 at91: Add CONFIG_NVMEM_MICROCHIP_OTPC kernel configuration option 2023-01-08 16:10:49 +01:00
Makefile at91: kernel v5.15: use KERNEL_TESTING_PATCHVER:=5.15 2022-10-22 00:51:25 +02:00
modules.mk target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00