Am Do, 29. Sep 2022 um 16:32:40 +0100 schrieb Richard Purdie <richard.purdie@linuxfoundation.org>:
Do we need to worry here about whether we're actually adding a new root entry? Is there a case it does need to be preserved?

wic does run the fstab_update by default and adds entries for all vaild partitions. Single partitions can be prohibited using '--no-fstab-update' in the .wks file. You can choose to use /dev/foo format, uuid (--use-uuid) or label (--use-label). The fstab_update can also be disabled globally by setting:  

WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update"

In that case the stock fstab file wont be touched by wic at all.

This has been active for some months now but got reverted here
https://git.yoctoproject.org/poky/commit/?id=e7619f7650e1f545dccba327bbc8d03a7b34fc4e

because systemd-fstab-generator got confused by trying to create two different '-.mount' files.