summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initrdscripts
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2013-03-26 14:08:19 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-29 10:40:55 +0000
commite0da5099738807ab7779838d73103106aa101620 (patch)
tree78b7b44a1e88803e472409e82720df25f5427547 /meta/recipes-core/initrdscripts
parent7698f261496c2f1cd7c86805836e11b36f5d9339 (diff)
downloadpoky-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>
Diffstat (limited to 'meta/recipes-core/initrdscripts')
-rw-r--r--meta/recipes-core/initrdscripts/files/init-install.sh1
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#
60rm -f /etc/udev/rules.d/automount.rules
60rm -f /etc/udev/scripts/mount* 61rm -f /etc/udev/scripts/mount*
61 62
62# 63#