From: David-John Willis Date: Mon, 7 Jun 2010 09:49:46 +0000 (+0100) Subject: udev 151: Update omap3-pandora mount.sh and bump PR. X-Git-Tag: sz_beta3~136 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd4c56eb0d0941120cdbdcfa94e368d830695752;p=openembedded.git udev 151: Update omap3-pandora mount.sh and bump PR. * 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 ;)). --- diff --git a/recipes/udev/udev-151/omap3-pandora/mount.sh b/recipes/udev/udev-151/omap3-pandora/mount.sh index 7ba7ba7e98..7ba2b3fc2a 100644 --- a/recipes/udev/udev-151/omap3-pandora/mount.sh +++ b/recipes/udev/udev-151/omap3-pandora/mount.sh @@ -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" diff --git a/recipes/udev/udev_151.bb b/recipes/udev/udev_151.bb index 15fda19ec5..bcff3de1d1 100644 --- a/recipes/udev/udev_151.bb +++ b/recipes/udev/udev_151.bb @@ -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"