summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-11-29 16:23:37 +0200
committerMatt Ranostay <matt.ranostay@konsulko.com>2018-11-29 14:28:12 +0000
commitab339cdf253ed1486dce115c7169ea4948787f96 (patch)
treea055480087d0fa921af9ad8a0b12fe13eb171179
parentcaf500e8dea664512acbb393b182448aff3ecd65 (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