[OE-core] [PATCH 1/1] init-install.sh: remove unnecessary udev rules file to avoid error messages
Qi.Chen at windriver.com
Qi.Chen at windriver.com
Tue Mar 26 06:08:19 UTC 2013
From: Chen Qi <Qi.Chen at windriver.com>
/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 at windriver.com>
---
.../initrdscripts/files/init-install.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-core/initrdscripts/files/init-install.sh b/meta/recipes-core/initrdscripts/files/init-install.sh
index 2c4486a..d2a0db3 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}"
#
# The udev automounter can cause pain here, kill it
#
+rm -f /etc/udev/rules.d/automount.rules
rm -f /etc/udev/scripts/mount*
#
--
1.7.9.5
More information about the Openembedded-core
mailing list