meta-digi/meta-digi-arm/recipes-core/udev/udev-extraconf
Gabriel Valcazar 600c3d7790 mount_digiparts.sh: run single MTD layout code path only when appropriate
This code path was added in the context of single MTD layout support for
ccimx6ul boards, but it was being executed in the default storage layout use
case as well. This could trigger a race condition in which one code path
deletes the mount point while the other one is still setting it up, causing
partitions to not be mounted automatically (specifically, the "update"
partition).

Since both code paths are mutually exclusive in our implementation, reflect
this by making sure that the single MTD layout path is executed only when said
layout is enabled in the U-Boot environment.

https://onedigi.atlassian.net/browse/DEL-7827

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
(cherry picked from commit 9a7ea10a4dfb74651f865f125372604fe6840a10)
2022-04-06 10:51:30 +02:00
..
imx meta-digi-arm: udev-extraconf: Avoid loading evbug by default 2018-10-09 14:57:59 +02:00
81-spi-spidev.rules udev-extraconf: add rule not to autoload spidev module 2017-11-17 15:57:03 +01:00
automount.rules read_only: create folders in build time 2021-11-25 12:42:59 +01:00
mount.sh udev-extraconf: mount.sh with skip of already-mounted partitions 2019-09-18 09:13:41 +02:00
mount_digiparts.sh mount_digiparts.sh: run single MTD layout code path only when appropriate 2022-04-06 10:51:30 +02:00