udev_182: creat a symbolic file /sbin/udevadm to fix haldaemon starts error.
PATCH 1/1 udev_182: creat a symbolic file /sbin/udevadm to fix haldaemon starts error.
The haldaemon requires /sbin/udevadm to start.
So creat a symbolic file /sbin/udevadm that links to /usr/bin/udevadm.
--- meta/recipes-core/udev/udev.inc | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
meta/recipes-core/udev/udev.inc +0 -0
@@ -93,6 +93,9 @@ do_install_append () { install -d ${D}${sysconfdir}/udev/rules.d/ install -m 0644 ${WORKDIR}/local.rules
${D}${sysconfdir}/udev/rules.d/local.rules
+
+ install -d ${D}/${base_sbindir}
+ ln -s ../usr/bin/udevadm ${D}/${base_sbindir}/udevadm
# hid2hci has moved to bluez4. removed in udev as of version 169
rm -f ${D}${base_libdir}/udev/hid2hci
--
1.7.1Quoted 2 lines · leimaohui
The haldaemon requires
/sbin/udevadmto start.
So creat a symbolic file/sbin/udevadmthat links to/usr/bin/udevadm.
Why not fix haldaemon to use the right path?
Ross
Quoted 5 lines · On 20 September 2013 4:38 PM, Burton, Ross [mailto:[email protected]] wrote:
Quoted 2 lines · leimaohui
The haldaemon requires
/sbin/udevadmto start.
So creat a symbolic file/sbin/udevadmthat links to/usr/bin/udevadm.Why not fix haldaemon to use the right path?
But according to udev's changlog,I think it is better to add a symlink to udevadm.
http://upstream-tracker.org/changelogs/libudev/182/changelog.html
" The default install location of the 'udevadm' tool moved from 'sbin' to /usr/bin. Some tools expect udevadm in 'sbin', a symlink to udevadm needs to be manually created if needed, or --bindir=/sbin be specified."
Best Regards,
Maohui Lei
Quoted 7 lines · leimaohui
Quoted 5 lines · On 20 September 2013 4:38 PM, Burton, Ross [mailto:[email protected]] wrote:
Quoted 2 lines · leimaohui
The haldaemon requires
/sbin/udevadmto start.
So creat a symbolic file/sbin/udevadmthat links to/usr/bin/udevadm.Why not fix haldaemon to use the right path?
Quoted 9 lines
But according to udev's changlog,I think it is better to add a symlink to udevadm.
http://upstream-tracker.org/changelogs/libudev/182/changelog.html
" The default install location of the 'udevadm' tool moved from 'sbin' to
/usr/bin. Some tools expect udevadm in 'sbin', a symlink to udevadm needs to be manually created if needed, or --bindir=/sbin be specified."
As suggested by Ross, please patch haldaemon to use the the oecore location.
Thanks
Sau!
Quoted 12 lines
Best Regards,
Maohui Lei_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core