[PATCH] image.mk: fix dd memory exhaustion during padding of large images

Mirko Parthey mirko.parthey at web.de
Mon Apr 1 06:34:09 PDT 2024


On Mon, Apr 01, 2024 at 10:25:11AM +0000, Petr Štetiar wrote:
> +			bs=1048576 count=$(shell expr $(2) / 1048576) \

How about using dd iflag=count_bytes instead?
OpenWrt's busybox supports it.



More information about the openwrt-devel mailing list