From 3d4da9186016d54b76ad2fa710646de253f0f063 Mon Sep 17 00:00:00 2001 From: Alexandre Belloni Date: Wed, 4 Feb 2015 23:45:02 +0100 Subject: wic: use kB for the partitions size Use kB instead of MB for the partition size to get a better granularity. This is needed on some SoC (i.mx, omap) where it is necessary to create partitions as small as 64kB. Keep the backward compatibility by assuming MB when no unit is provided. Signed-off-by: Alexandre Belloni Tested-by: Maciej Borzecki Acked-by: Tom Zanussi Tested-by: Tom Zanussi Signed-off-by: Ross Burton --- scripts/lib/image/help.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/lib/image') diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py index 6b74f57662..0d8a6adfaa 100644 --- a/scripts/lib/image/help.py +++ b/scripts/lib/image/help.py @@ -673,10 +673,10 @@ DESCRIPTION The following are supported 'part' options: - --size: The minimum partition size in MBytes. Specify an - integer value such as 500. Do not append the number - with "MB". You do not need this option if you use - --source. + --size: The minimum partition size. Specify an integer value + such as 500. Multipliers k, M ang G can be used. If + not specified, the size is in MB. + You do not need this option if you use --source. --source: This option is a wic-specific option that names the source of the data that will populate the -- cgit v1.2.3