]> code.ossystems Code Review - openembedded-core.git/commitdiff
init-install.sh: remove unnecessary udev rules file to avoid error messages
authorChen Qi <Qi.Chen@windriver.com>
Tue, 26 Mar 2013 06:08:19 +0000 (14:08 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Mar 2013 10:40:18 +0000 (10:40 +0000)
/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]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initrdscripts/files/init-install.sh

index 2c4486a14981c0f7b35144e531867fdaf29c6daa..d2a0db3183c21fbe2f4d4ef6f554d6410a968517 100644 (file)
@@ -57,6 +57,7 @@ echo "Installing image on /dev/${device}"
 #
 # The udev automounter can cause pain here, kill it
 #
+rm -f /etc/udev/rules.d/automount.rules
 rm -f /etc/udev/scripts/mount*
 
 #