summaryrefslogtreecommitdiffstats
path: root/platforms
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-06-09 17:01:11 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-06-10 20:17:20 +0200
commit41e7c44df6bf631fbc3e722791e5e449ffff3bc7 (patch)
tree98addd127fb83a475efe5d1ac0b61a2c7a474b71 /platforms
parent6ce7b4ff37df46dc96489bf4a5a7f88e8adcacb4 (diff)
downloadptxdist-41e7c44df6bf631fbc3e722791e5e449ffff3bc7.tar.gz
ptxdist-41e7c44df6bf631fbc3e722791e5e449ffff3bc7.tar.xz
image-root-ext: allow percentages for the size
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms')
-rw-r--r--platforms/image-root-ext.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/platforms/image-root-ext.in b/platforms/image-root-ext.in
index e5e8ba766..903bdf33d 100644
--- a/platforms/image-root-ext.in
+++ b/platforms/image-root-ext.in
@@ -14,10 +14,12 @@ if IMAGE_ROOT_EXT
config IMAGE_ROOT_EXT_SIZE
string
- default "20M"
+ default "125%"
prompt "image size"
help
The image size in bytes or with unit, e.g. 42M, 23G, etc.
+ or as a percentage of the content, e.g. 200% will result in a
+ filesystem with about 50% free space.
choice
prompt "ext2fs type "