]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
wic: Fix usage of fstype=none in wic
authorPavel Zhukov <pavel@zhukoff.net>
Thu, 9 Feb 2023 17:39:03 +0000 (18:39 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Feb 2023 10:20:44 +0000 (10:20 +0000)
commit351cb64da37aa43113e5192605d04436652aa3b8
tree3dc9f023817c1c3d5612a8564f633964119a5b8d
parenta999f62f5692687a5557f7a50c7c768c50f3d7d3
wic: Fix usage of fstype=none in wic

This allows to specify partition with fstype=none in the wks file
to have partition created but without following mkfs. The none fstype
is in the list already but the usage is not documented.

Example;
part /data --ondisk mmcblk0 --fstype=none  --align 4096 --fixed-size 512

will create a partition, filesystem may be created manualy on the host
or target and data will be preserved if the device is reflashed using
same wks. Works with bmaptool and probably does not work with dd.
Use case is persistent filesystem/data between reflashing of the image.

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/partition.py