udev 151: Update omap3-pandora mount.sh and bump PR.
authorDavid-John Willis <John.Willis@Distant-earth.com>
Mon, 7 Jun 2010 09:49:46 +0000 (10:49 +0100)
committerDavid-John Willis <John.Willis@Distant-earth.com>
Mon, 7 Jun 2010 09:49:46 +0000 (10:49 +0100)
* Add noatime to speed up SD access a little and add umask=0 to udev instead of uid=1000 to automount script to ensure all users can access files on the SD (it.s a games console not a secure terminal ;)).

recipes/udev/udev-151/omap3-pandora/mount.sh
recipes/udev/udev_151.bb

index 7ba7ba7..7ba2b3f 100644 (file)
@@ -22,7 +22,8 @@ done
 automount() {  
        ! test -d "/media/$name" && mkdir -p "/media/$name"
        
-       if ! $MOUNT -t auto -o sync,uid=1000 $DEVNAME "/media/$name" && ! $MOUNT -t auto -o sync $DEVNAME "/media/$name"
+       if ! $MOUNT -t auto -o sync,noatime,umask=0 $DEVNAME "/media/$name" && \
+                       ! $MOUNT -t auto -o sync,noatime $DEVNAME "/media/$name"
        then
                #logger "mount.sh/automount" "$MOUNT -t auto $DEVNAME \"/media/$name\" failed!"
                rm_dir "/media/$name"
index 15fda19..bcff3de 100644 (file)
@@ -3,7 +3,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
 the hotplug package and requires a kernel not older than 2.6.12."
 LICENSE = "GPLv2+"
 
-PR = "r10"
+PR = "r11"
 
 # Untested
 DEFAULT_PREFERENCE = "-1"