summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-11-29 16:23:37 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-11-29 20:59:00 +0000
commit0a93eedfc7f6f1f732edc4656862fccb7cca1e61 (patch)
tree4b8a361b9bcae9af228e38a6c7b2dd3bf222fd0b
parent37f3bdba7db7e8c0a4e0dd80208bf3fd04a74123 (diff)
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 <matt.ranostay@konsulko.com>
-rwxr-xr-xmeta-agl-profile-core/recipes-support/udisks/files/automount.sh2
1 files changed, 1 insertions, 1 deletions
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