diff options
authorDarren Hart <>2013-09-23 20:54:10 +0000
committerPaul Eggleton <>2014-03-12 19:00:34 +0000
commitc45acfae254004baa4011a35addf0e26a11d71bd (patch)
parent8f3ecfda5e57fbc1903dec1cbb44c92ef599849f (diff)
openembedded-core-c45acfae254004baa4011a35addf0e26a11d71bd.tar.bz2 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 remove unnecessary udev rules file to avoid error messages /etc/udev/scripts/ is removed by, 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/ No such file or directory The /etc/udev/rules/automount.rules no longer works once the script is removed. Remove it to avoid the error message. (From OE-Core master rev: 1f5a2b616d902b1158e348bf8c33b6d36e21cadc) Signed-off-by: Darren Hart <> Cc: Signed-off-by: Saul Wold <> Signed-off-by: Richard Purdie <>
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/files/ b/meta/recipes-core/initrdscripts/files/
index 9f7a9e7c61..778ed56d7a 100644
--- a/meta/recipes-core/initrdscripts/files/
+++ b/meta/recipes-core/initrdscripts/files/
@@ -58,6 +58,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*