scripts: ubinize-image.sh: fix support for static volume
authorDaniel Golle <daniel@makrotopia.org>
Tue, 23 Apr 2024 10:39:34 +0000 (11:39 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 24 Apr 2024 01:32:22 +0000 (02:32 +0100)
commitda13ff30efdb921fe22d02334432c578ba95996a
treef50beb9423bc66110d18d0273e1a494aec8a2e4b
parent9bc08af753295840dd5b2f450a2ecd6ace7e7f14
scripts: ubinize-image.sh: fix support for static volume

Apart from being misspelled ('dymamic' vs. 'dynamic') and a mismatch of
the number of parameters, there is also simply no need to add the 'dynamic'
volume type keyword as 6th parameter as that's the default anyway.
Fix and simplify the ubinize-image.sh script to work as intended.

Fixes: 6c17d71973 ("scripts: ubinize-image.sh: support static volumes, make size optional")
Reported-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
scripts/ubinize-image.sh