]> code.ossystems Code Review - openembedded-core.git/commit
wic: use kB for the partitions size
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 4 Feb 2015 22:45:02 +0000 (23:45 +0100)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 18 Mar 2015 04:09:18 +0000 (01:09 -0300)
commit140b59b76fe0a13e4646d8e87f5e9893f76d58c9
tree769e17f86efbc9b397e6d68e3857a7cb3c6b2040
parent156febe5918fd97c6874089b6a668a46dcdcc1a1
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.

Change-Id: Ie0d619801d5f6d81fb3159bd6e71d0e574f2471b
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Tested-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Acked-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Tested-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
scripts/lib/image/help.py
scripts/lib/wic/3rdparty/pykickstart/commands/partition.py
scripts/lib/wic/3rdparty/pykickstart/options.py
scripts/lib/wic/kickstart/__init__.py
scripts/lib/wic/kickstart/custom_commands/partition.py
scripts/lib/wic/plugins/source/bootimg-efi.py
scripts/lib/wic/plugins/source/bootimg-pcbios.py
scripts/lib/wic/utils/partitionedfs.py