summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/opkg-utils
diff options
context:
space:
mode:
authorHector Palacios <hector.palacios@digi.com>2019-09-18 10:26:55 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-19 10:54:32 +0100
commiteba5dcddfa8de36c33b9eb258f187edbe0afe7a2 (patch)
tree6f3d3dde3ebe379fe15710db797ec6b4d5b63b94 /meta/recipes-devtools/opkg-utils
parent9ad35b87070f67483dbc639c8274a6f30ae78165 (diff)
downloadpoky-eba5dcddfa8de36c33b9eb258f187edbe0afe7a2.tar.gz
udev-extraconf: skip mounting partitions already mounted by systemd
For some devices, udev may sometimes trigger twice the 'add' rule during boot. Calling the mount.sh script twice will eventually fail for already mounted partitions, but in that case, the script tries to remove the created mountpoint, when it shouldn't. This has been observed on USB sticks connected to a USB hub and may result in devices not being mounted if plugged-in before booting. This patch checks for already mounted partitions earlier (before creating the mount point) and returns with no actions. (From OE-Core rev: 4cf076879ac038ebf76679a19249ea6363e63e0f) Signed-off-by: Hector Palacios <hector.palacios@digi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/opkg-utils')
0 files changed, 0 insertions, 0 deletions