rockchip: fix broken squashfs sysupgrade
authorDavid Bauer <mail@david-bauer.net>
Thu, 23 Sep 2021 19:01:37 +0000 (21:01 +0200)
committerDavid Bauer <mail@david-bauer.net>
Fri, 24 Sep 2021 10:29:22 +0000 (12:29 +0200)
commit5c904bcb37374d1d5f26dcb7878f869c15ad2082
tree1b3760723a532fe33ad9c28c0a26dfe370bd57c4
parentbf30ad1408f91d579f344e7798a2f03754fd21fc
rockchip: fix broken squashfs sysupgrade

The rockchip platform supports squashfs SD card images. However, the
resulting image is not padded to completely fill the rootfs partition.

Because of that, the f2fs overlay might not be erased, resulting in
uci-defaults not bing executed or the configuration not being erased,
even though drop config was selected.

Modify the image generation process so the image is padded to cover the
entire root filesystem partition.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit b56f7407d999d29c200c8c5880655926ef9874b7)
target/linux/rockchip/image/Makefile