From: Michael Mrozek Date: Mon, 5 Jul 2010 01:58:22 +0000 (+0200) Subject: mount.sh: Changed it so that spaces will be converted to underscores X-Git-Tag: sz_beta3~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86391d8a47b909af416c49fdc9ef7a4088c7a604;p=openembedded.git mount.sh: Changed it so that spaces will be converted to underscores (until libpnd is fixed) --- diff --git a/recipes/udev/udev-151/omap3-pandora/mount.sh b/recipes/udev/udev-151/omap3-pandora/mount.sh index 979fb277e0..d69ae9d784 100755 --- a/recipes/udev/udev-151/omap3-pandora/mount.sh +++ b/recipes/udev/udev-151/omap3-pandora/mount.sh @@ -10,7 +10,7 @@ PMOUNT="/usr/bin/pmount" UMOUNT="/bin/umount" blkid="/usr/sbin/blkid" name="`basename "$DEVNAME"`" -name2="`$blkid "$DEVNAME" -c /dev/null -o value -s LABEL`" +name2="`$blkid "$DEVNAME" -c /dev/null -o value -s LABEL | sed 's/ /_/g'`" name3=$(echo $DEVNAME | sed 's/.*dev.//g') for line in `grep -v ^# /etc/udev/mount.blacklist` diff --git a/recipes/udev/udev_151.bb b/recipes/udev/udev_151.bb index 8081855d34..63a83d55e8 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 = "r14" +PR = "r15" # Untested DEFAULT_PREFERENCE = "-1"