]> code.ossystems Code Review - openembedded-core.git/commit
wic: Add --no-fstab-update part option
authorDaniel Gomez <daniel@qtec.com>
Tue, 17 Aug 2021 20:11:14 +0000 (22:11 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Aug 2021 07:51:08 +0000 (08:51 +0100)
commitab4c95af8ecd15dc136194ab761afae756db5803
tree2d6469dd9d323d2ddd803f5665776fd21ab1fd0e
parent014c6b0a1188d5dfb32790246491973ea91017d8
wic: Add --no-fstab-update part option

When embedding a rootfs image (e.g. 'rootfs-dir') as a partition we
might want to keep the stock fstab for that image. In such a case, use
this option to not update the fstab and use the stock one instead.

This option allows you to specify which partitions get the fstab
updated and which get the stock fstab.

The option matches the argument you can pass to wic itself where the
same action is performed but for all the partitions.

Example:
    part /export --source rootfs --rootfs-dir=hockeycam-image
--fstype=ext4 --label export --align 1024 --no-fstab-update

    part / --source rootfs --fstype=ext4 --label rootfs --align 1024

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/help.py
scripts/lib/wic/ksparser.py
scripts/lib/wic/partition.py
scripts/lib/wic/plugins/source/rootfs.py