From d513abcf21a19b5a5c976ccb3812136fb5a53b1d Mon Sep 17 00:00:00 2001 From: Jeff Hatch Date: Tue, 15 May 2018 09:26:59 -0500 Subject: IN003115: Support Portal Case #5088842: Getting Corrupt Installs and Corrupt SD Card --- recipes-core/udev/udev-extraconf/mount.patch | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'recipes-core/udev') 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 -- cgit v1.2.3