scripts: ubinize-image.sh: fix on POSIX shell, allow custom images
authorDaniel Golle <daniel@makrotopia.org>
Fri, 16 Feb 2024 05:32:51 +0000 (05:32 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 16 Feb 2024 05:32:51 +0000 (05:32 +0000)
commit67beab2b2b39c4fe3e48a021aefbfac15ffa70ce
treec9d7105936fec1b77d8de04b7abddc6e6ea40bd8
parentdc0cf0fc509d7d2ae1250144d4615275094b943e
scripts: ubinize-image.sh: fix on POSIX shell, allow custom images

Make sure ubinize-image.sh also works with more simple POSIX Shell and
allow creating complete custom images to be used as ARTIFACT/foo.img
and thereby allow including uImage.FIT, TF-A FIP and what ever else
is required on a specific board.

Fixes: 6c17d71973 ("scripts: ubinize-image.sh: support static volumes, make size optional")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
include/image-commands.mk
scripts/ubinize-image.sh