diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2013-03-26 14:08:19 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-29 10:40:55 +0000 |
commit | e0da5099738807ab7779838d73103106aa101620 (patch) | |
tree | 78b7b44a1e88803e472409e82720df25f5427547 | |
parent | 7698f261496c2f1cd7c86805836e11b36f5d9339 (diff) | |
download | poky-e0da5099738807ab7779838d73103106aa101620.tar.gz |
init-install.sh: remove unnecessary udev rules file to avoid error messages
/etc/udev/scripts/mount.sh is removed by init-install.sh, but the udev
rules file which specifies the invocation of this script is not removed,
thus causing the error message '/etc/udev/scripts/mount.sh: No such file
or directory' shown at a live install.
The /etc/udev/rules/automount.rules no longer works once the mount.sh script
is removed. So we remove it to avoid the error message.
[YOCTO #3924]
(From OE-Core rev: 6b6db7b4fb7aa17b8e29076decc830149b9d35bc)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/initrdscripts/files/init-install.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install.sh b/meta/recipes-core/initrdscripts/files/init-install.sh index 2c4486a149..d2a0db3183 100644 --- a/meta/recipes-core/initrdscripts/files/init-install.sh +++ b/meta/recipes-core/initrdscripts/files/init-install.sh | |||
@@ -57,6 +57,7 @@ echo "Installing image on /dev/${device}" | |||
57 | # | 57 | # |
58 | # The udev automounter can cause pain here, kill it | 58 | # The udev automounter can cause pain here, kill it |
59 | # | 59 | # |
60 | rm -f /etc/udev/rules.d/automount.rules | ||
60 | rm -f /etc/udev/scripts/mount* | 61 | rm -f /etc/udev/scripts/mount* |
61 | 62 | ||
62 | # | 63 | # |