diff options
| -rw-r--r-- | meta/recipes-core/udev/udev-extraconf/mount.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/udev/udev-extraconf/mount.sh b/meta/recipes-core/udev/udev-extraconf/mount.sh index fe78f3aba5..4827779e2f 100644 --- a/meta/recipes-core/udev/udev-extraconf/mount.sh +++ b/meta/recipes-core/udev/udev-extraconf/mount.sh | |||
| @@ -178,7 +178,7 @@ rm_dir() { | |||
| 178 | 178 | ||
| 179 | get_label_name() { | 179 | get_label_name() { |
| 180 | # Get the LABEL or PARTLABEL | 180 | # Get the LABEL or PARTLABEL |
| 181 | LABEL=`/sbin/blkid "$1" | grep -o 'LABEL=".*"' | cut -d '"' -f2` | 181 | LABEL=`/sbin/blkid "$1" | grep -o 'LABEL=".*"' | cut -d '"' -f2 | sed 's,/,_,g'` |
| 182 | # If the $DEVNAME has a LABEL or a PARTLABEL | 182 | # If the $DEVNAME has a LABEL or a PARTLABEL |
| 183 | if [ -n "$LABEL" ]; then | 183 | if [ -n "$LABEL" ]; then |
| 184 | # Set the mount location dir name to LABEL appended | 184 | # Set the mount location dir name to LABEL appended |
