Allows passing the '-F' flag to force file-system free space to be
fixed up on first mount.
Signed-off-by: Sebastian Muxel <sebastian.muxel@entner-electronics.com>
This is useful when creating multiple images with on config and some of
them should be empty. Also, vfat filesystems cannot be empty right now, so
this makes it possible.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
The different image handlers do not work with pathes containing whitespaces
whenever an external command is invoked. Escape all pathes with quotation
marks to make that work.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
[mol: fix more image types]
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
This typo was introduced in commit b28e5f1759:
"image-ubifs: maximum image size may be different from image size"
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
This is necessary for supporting UBI autoresize.
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
do this in setup do detect configuration errors as soon as possible.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>