poky/scripts/lib/wic/plugins/source
Paul Barker da846838fc wic: Optimise fstab modification for ext2/3/4 and msdos partitions
The fix for [Yocto #13994] required the rootfs directory to be copied
(using hardlinks if possible) when modifying the fstab file under wic.

We can optimise this copy away for filesystems where we have the tools
to modify the contents of the partition image after it is created. For
ext2/3/4 filesystems we have the debugfs tool and for msdos/vfat
filesystems we have the mcopy tool. So for any of these filesystems we
skip the modification of the fstab file in the rootfs directory (and
skip the associated copy unless it is otherwise necessary) and update
the contents of fstab directly in the partition image.

(From OE-Core rev: 5fb8ae0e9159597d7eaa9307a3a8543800bf9405)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
..
bootimg-biosplusefi.py wic/plugins: Source that support both EFI and BIOS 2019-07-23 22:26:28 +01:00
bootimg-efi.py wic/bootimg-efi: IMAGE_EFI_BOOT_FILES variable added to separate bootimg-efi and bootimg-partition 2020-09-15 11:53:28 +01:00
bootimg-partition.py wic: fix typo 2020-08-06 15:12:39 +01:00
bootimg-pcbios.py wic: add support for kernel with initramfs bundled 2019-07-17 19:25:02 +01:00
empty.py wic: Introduce empty plugin to create unformatted empty partitions 2020-12-15 22:51:56 +00:00
isoimage-isohybrid.py isoimage-isohybrid.py: Support adding files/dirs 2020-11-08 14:03:20 +00:00
rawcopy.py wic: fix images build in parallel 2020-01-19 13:24:39 +00:00
rootfs.py wic: Optimise fstab modification for ext2/3/4 and msdos partitions 2021-01-20 22:46:18 +00:00