summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-core/udev/udev-extraconf/mount.patch13
1 files changed, 11 insertions, 2 deletions
diff --git a/recipes-core/udev/udev-extraconf/mount.patch b/recipes-core/udev/udev-extraconf/mount.patch
index 16e0672..71ccc56 100644
--- a/recipes-core/udev/udev-extraconf/mount.patch
+++ b/recipes-core/udev/udev-extraconf/mount.patch
@@ -1,6 +1,6 @@
diff -Naru old/mount.sh new/mount.sh
---- old/mount.sh 2017-08-16 15:14:20.386456313 -0500
-+++ new/mount.sh 2017-08-16 15:21:28.898443627 -0500
+--- old/mount.sh 2018-05-15 09:07:02.814673114 -0500
++++ new/mount.sh 2018-05-15 09:06:30.862674060 -0500
@@ -4,7 +4,6 @@
#
# Attempt to mount any added block devices and umount any removed devices
@@ -20,6 +20,15 @@ diff -Naru old/mount.sh new/mount.sh
# Silent util-linux's version of mounting auto
if [ "x`readlink $MOUNT`" = "x/bin/mount.util-linux" ] ;
then
+@@ -31,7 +34,7 @@
+ # grant it with w/r/x permissions.
+ case $ID_FS_TYPE in
+ vfat|fat)
+- MOUNT="$MOUNT -o umask=007,gid=`awk -F':' '/^disk/{print $3}' /etc/group`"
++ MOUNT="$MOUNT -o errors=continue -o umask=007,gid=`awk -F':' '/^disk/{print $3}' /etc/group`"
+ ;;
+ # TODO
+ *)
@@ -66,7 +69,11 @@
if [ -x "$PMOUNT" ]; then
$PMOUNT $DEVNAME 2> /dev/null