From 6b6db7b4fb7aa17b8e29076decc830149b9d35bc Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Tue, 26 Mar 2013 14:08:19 +0800 Subject: 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] Signed-off-by: Chen Qi Signed-off-by: Richard Purdie --- meta/recipes-core/initrdscripts/files/init-install.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'meta') 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}" # # The udev automounter can cause pain here, kill it # +rm -f /etc/udev/rules.d/automount.rules rm -f /etc/udev/scripts/mount* # -- cgit 1.2.3-korg