From: Matt Ranostay Date: Thu, 29 Nov 2018 14:23:37 +0000 (+0200) Subject: udisk: automount: remove 'flush' from MOUNT_OPTIONS X-Git-Tag: flounder_6.0.3~9 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=ab339cdf253ed1486dce115c7169ea4948787f96;hp=caf500e8dea664512acbb393b182448aff3ecd65;p=AGL%2Fmeta-agl.git udisk: automount: remove 'flush' from MOUNT_OPTIONS Not all filesystems support 'flush' mount option and this was preventing automounting. Change-Id: I98d25ab58cc6683272cdd45783aa854bc54f53ba Signed-off-by: Matt Ranostay --- diff --git a/meta-agl-profile-core/recipes-support/udisks/files/automount.sh b/meta-agl-profile-core/recipes-support/udisks/files/automount.sh index bb0b1ae91..90a510c96 100755 --- a/meta-agl-profile-core/recipes-support/udisks/files/automount.sh +++ b/meta-agl-profile-core/recipes-support/udisks/files/automount.sh @@ -4,7 +4,7 @@ pathtoname() { udevadm info -p /sys/"$1" | awk -v FS== '/DEVNAME/ {print $2}' } -MOUNT_OPTIONS="ro,flush" +MOUNT_OPTIONS="ro" rmdir /media/* &> /dev/null || true for DEVNAME in $(udisks --enumerate-device-files|grep -e sd[a-z]); do