diff options
author | Jesse Zhang <sen.zhang@windriver.com> | 2012-07-04 10:03:13 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-17 13:19:21 +0100 |
commit | 9eea1ebe3e4b27529780dfafaf424d373bfb2867 (patch) | |
tree | 949e9a31697902289e89b2e13608b382753ab8a0 | |
parent | 219a855f99bc45fd273f62df9507be7223eff1b4 (diff) | |
download | poky-9eea1ebe3e4b27529780dfafaf424d373bfb2867.tar.gz |
udev: don't mount with -o sync
mount.sh mounts all partitions with -o sync, which is bad for system
performance.
(From OE-Core rev: d49cf73754150b50a911d326aaa666f5da78855c)
Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/udev/udev/mount.sh | 2 | ||||
-rw-r--r-- | meta/recipes-core/udev/udev_164.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/udev/udev/mount.sh b/meta/recipes-core/udev/udev/mount.sh index 53fefa3681..c13b8bbb3b 100644 --- a/meta/recipes-core/udev/udev/mount.sh +++ b/meta/recipes-core/udev/udev/mount.sh | |||
@@ -23,7 +23,7 @@ automount() { | |||
23 | 23 | ||
24 | ! test -d "/media/$name" && mkdir -p "/media/$name" | 24 | ! test -d "/media/$name" && mkdir -p "/media/$name" |
25 | 25 | ||
26 | if ! $MOUNT -t auto -o sync $DEVNAME "/media/$name" | 26 | if ! $MOUNT -t auto $DEVNAME "/media/$name" |
27 | then | 27 | then |
28 | #logger "mount.sh/automount" "$MOUNT -t auto $DEVNAME \"/media/$name\" failed!" | 28 | #logger "mount.sh/automount" "$MOUNT -t auto $DEVNAME \"/media/$name\" failed!" |
29 | rm_dir "/media/$name" | 29 | rm_dir "/media/$name" |
diff --git a/meta/recipes-core/udev/udev_164.bb b/meta/recipes-core/udev/udev_164.bb index 2a8dd83b6f..6aa5599003 100644 --- a/meta/recipes-core/udev/udev_164.bb +++ b/meta/recipes-core/udev/udev_164.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | include udev.inc | 1 | include udev.inc |
2 | 2 | ||
3 | PR = "r14" | 3 | PR = "r15" |
4 | 4 | ||
5 | SRC_URI += "file://udev-166-v4l1-1.patch \ | 5 | SRC_URI += "file://udev-166-v4l1-1.patch \ |
6 | file://include_resource.patch \ | 6 | file://include_resource.patch \ |