summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2013-09-23 20:54:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-13 15:37:35 -0700
commit5152260a32bd297d6ec91ea37474e44dd3c2f3da (patch)
tree7ef9a6cca4cac22a6c583a8d8712ea7a45bf2dff /meta
parent2a07edd04ca9a85273de852e2d10aad6dd08d5a2 (diff)
downloadpoky-5152260a32bd297d6ec91ea37474e44dd3c2f3da.tar.gz
init-install-efi.sh: Remove unnecessary udev rules file to avoid errors
Fixes [YOCTO #5233] Modeled after Chen Qi's fix to [YOCTO #3924] from oe-core commit: 6b6db7b4fb7aa17b8e29076decc830149b9d35bc init-install.sh: remove unnecessary udev rules file to avoid error messages /etc/udev/scripts/mount.sh is removed by init-install-efi.sh, but the udev rules file which specifies the invocation of this script is not removed, thus causing the error message during a live install: /etc/udev/scripts/mount.sh: No such file or directory The /etc/udev/rules/automount.rules no longer works once the mount.sh script is removed. Remove it to avoid the error message. (From OE-Core master rev: 1f5a2b616d902b1158e348bf8c33b6d36e21cadc) (From OE-Core rev: c45acfae254004baa4011a35addf0e26a11d71bd) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: mihaix.lindner@linux.intel.com Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/initrdscripts/files/init-install-efi.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-install-efi.sh b/meta/recipes-core/initrdscripts/files/init-install-efi.sh
index 9f7a9e7c61..778ed56d7a 100644
--- a/meta/recipes-core/initrdscripts/files/init-install-efi.sh
+++ b/meta/recipes-core/initrdscripts/files/init-install-efi.sh
@@ -58,6 +58,7 @@ echo "Installing image on /dev/${device}"
58# 58#
59# The udev automounter can cause pain here, kill it 59# The udev automounter can cause pain here, kill it
60# 60#
61rm -f /etc/udev/rules.d/automount.rules
61rm -f /etc/udev/scripts/mount* 62rm -f /etc/udev/scripts/mount*
62 63
63# 64#