Commit Graph

12 Commits

Author SHA1 Message Date
Sebastian Muxel
483bf6beba
ubifs: Add configuration for space-fixup
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>
2024-02-16 00:16:01 +01:00
Michael Olbrich
aa52d5ba4b image-ubifs: validate lebsize
Otherwise genimage will crash if lebsize is zero.

Fixes #68.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
2019-09-22 17:40:26 +02:00
Michael Olbrich
f4c889b5fc make it easier to create empty filesystems
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>
2019-09-22 15:07:52 +02:00
Sascha Hauer
cf20713886 image-*: Fix pathes with whitespaces
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>
2018-03-19 15:53:26 +01:00
Michael Olbrich
8028a9b1f8 add license file and remove old FSF address from the source files
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
2016-01-12 17:47:16 +01:00
Jan Luebbe
f03120450c image-ubifs: fix missing semicolon
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>
2013-05-02 20:05:44 +02:00
Jan Luebbe
b28e5f1759 image-ubifs: maximum image size may be different from image size
This is necessary for supporting UBI autoresize.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
2013-04-16 15:28:55 +02:00
Michael Olbrich
c850c8b404 build with autotools
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
2012-06-12 10:02:44 +02:00
Michael Olbrich
90e41d5b8a make sure flash_type is defined for all images that need it
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>
2011-06-29 22:20:54 +02:00
Sascha Hauer
39cad33889 add gpl headers
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-06-27 10:52:05 +02:00
Sascha Hauer
92757aea26 add imageoutfile() function and use it
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-06-27 10:52:01 +02:00
Sascha Hauer
7e5122f621 initial import
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-06-27 08:39:51 +02:00