[wic] race condition: do not update the fstab 12/25412/2
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 12 Oct 2020 18:53:52 +0000 (20:53 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 14 Oct 2020 12:40:23 +0000 (12:40 +0000)
commit6d46b8cb03890d899af2bf6e5222dc0954836c90
tree785a0c825b806510b1cd272d513310e330011c1b
parent1aaa9128f1dae5365a0ca113c8b71583a3c9a008
[wic] race condition: do not update the fstab

do_image_wic will run in parallel with other jobs
in the current codebase of OE. Then these other
jobs might get the wrong content for
/etc/fstab that is modified by do_image_wic.

To prevent this behaviour, disable the modification in wic.

NOTE: This might have consequences on custom or complex
wks files. Thus allow the user to override this.

Bug-AGL: SPEC-3621
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I03cb589fb592c1d7e0ccfff54535b91ba73974be
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25412
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
meta-agl-distro/conf/distro/poky-agl.conf