diff options
author | Jeff Hatch <jhatch@multitech.com> | 2018-05-15 09:26:59 -0500 |
---|---|---|
committer | Jeff Hatch <jhatch@multitech.com> | 2018-05-15 09:26:59 -0500 |
commit | d513abcf21a19b5a5c976ccb3812136fb5a53b1d (patch) | |
tree | bfc20da662ea049e5dcdae9a60771539854d9630 /recipes-core/udev | |
parent | 628eb0cecde96a3d04e0a1e16f04a2a04c340088 (diff) | |
download | meta-mlinux-d513abcf21a19b5a5c976ccb3812136fb5a53b1d.tar.gz meta-mlinux-d513abcf21a19b5a5c976ccb3812136fb5a53b1d.tar.bz2 meta-mlinux-d513abcf21a19b5a5c976ccb3812136fb5a53b1d.zip |
IN003115: Support Portal Case #5088842: Getting Corrupt Installs and Corrupt SD Card
Diffstat (limited to 'recipes-core/udev')
-rw-r--r-- | recipes-core/udev/udev-extraconf/mount.patch | 13 |
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 |