poky/scripts/lib/wic
Markus Niebel d95804e584 wic: fix wrong attempt to create file system in upartitioned regions
The kickstart parser defaults fstype to "vfat". This leads to an attempt
to create an empty file system even for regions configured with "--no-table"
if used without fstype when no --sourceparams given.

The fix tests for fstype "none" or no_table in Partition prepare method.
This will omit the file system creation an the potential error for small
region with --no-table option.

(From OE-Core rev: af9f392a5e259b681077f25fa263965714a73a05)

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit db771a4cd36bf291a8b68edfd905e03243f2c8b3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
..
canned-wks wic: don't forcibly pass -T default 2021-08-12 06:26:15 +01:00
plugins image_types: Fix reproducible builds for initramfs and UKI img 2023-07-12 05:11:38 -10: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 scripts/lib/wic/help.py: Update Fedora Kickstart URLs 2021-11-11 22:26:46 +00:00
ksparser.py wic: Add --no-fstab-update part option 2021-08-20 08:53:03 +01:00
misc.py wic: Add dependencies for erofs-utils 2023-07-21 06:27:34 -10:00
partition.py wic: fix wrong attempt to create file system in upartitioned regions 2023-09-23 05:26:16 -10:00
pluginbase.py scripts: Update to use exec_module() instead of load_module() 2022-01-05 17:18:16 +00:00