poky/scripts/lib/wic
Pavel Zhukov 2656e872c9 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.

(From OE-Core rev: 5f7239eebe61aabbd3dbf4e6e1cf703c71273a35)

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>
(cherry picked from commit 351cb64da37aa43113e5192605d04436652aa3b8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-06 15:09:42 +00:00
..
canned-wks wic: don't forcibly pass -T default 2021-08-12 06:26:15 +01:00
plugins wic: swap partitions are not added to fstab 2022-11-14 15:59:15 +00:00
__init__.py wic: python2 -> python3 2019-06-30 22:40:52 +01:00
engine.py wic: use shutil.which 2021-11-21 11:05:02 +00:00
filemap.py wic/filemap: Fall back to standard copy when no way to get the block map 2020-07-18 11:06:31 +01:00
help.py wic: added fspassno parameter to partition 2022-05-16 23:19:18 +01:00
ksparser.py wic: add 'none' fstype for custom image 2022-08-12 19:22:04 +01:00
misc.py wic: add target tools to PATH when executing native commands 2022-08-02 11:29:59 +01:00
partition.py wic: Fix usage of fstype=none in wic 2023-03-06 15:09:42 +00:00
pluginbase.py scripts: Update to use exec_module() instead of load_module() 2022-01-05 17:18:16 +00:00