Skip to contentSkip to conversation

init-install.sh: remove unnecessary udev rules file to avoid error messages

PATCH New [email protected] 1 participant 2 messages Mar 26, 2013

lore
Share & tools
lore
#0 lore raw

cover init-install.sh: remove unnecessary udev rules file to avoid error messages

From: Chen Qi <[email protected]>

The following changes since commit 3c5f4d54d01887a117bf659fc9af6b2b892c2b08:

separatebuilddir.inc: mxsldr should never have been added to this list, remove (2013-03-24 14:03:19 +0000)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib ChenQi/init-install
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/init-install

Chen Qi (1):
init-install.sh: remove unnecessary udev rules file to avoid error
messages

 .../initrdscripts/files/init-install.sh            |    1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 init-install.sh: remove unnecessary udev rules file to avoid error messages

From: Chen Qi <[email protected]>

/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]

---
 .../initrdscripts/files/init-install.sh            |    1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/initrdscripts/files/init-install.sh +1 -0
index 2c4486a..d2a0db3 100644
@@ -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*
 
 #
Signature · 1 line
1.7.9.5