Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/1]udev_182: creat a symbolic file /sbin/udevadm to fix haldaemon starts error.
@ 2013-09-20  6:46 leimaohui
  2013-09-20  8:37 ` Burton, Ross
  0 siblings, 1 reply; 4+ messages in thread
From: leimaohui @ 2013-09-20  6:46 UTC (permalink / raw)
  To: openembedded-core

The haldaemon requires /sbin/udevadm to start.
So creat a symbolic file  /sbin/udevadm that links to /usr/bin/udevadm.



Signed-off-by: leimaohui <leimaohui@cn.fujitsu.com>
---
 meta/recipes-core/udev/udev.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
index dd250f7..fe53979 100644
--- a/meta/recipes-core/udev/udev.inc
+++ b/meta/recipes-core/udev/udev.inc
@@ -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.1




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1]udev_182: creat a symbolic file /sbin/udevadm to fix haldaemon starts error.
  2013-09-20  6:46 [PATCH 1/1]udev_182: creat a symbolic file /sbin/udevadm to fix haldaemon starts error leimaohui
@ 2013-09-20  8:37 ` Burton, Ross
  2013-09-20  9:49   ` leimaohui
  0 siblings, 1 reply; 4+ messages in thread
From: Burton, Ross @ 2013-09-20  8:37 UTC (permalink / raw)
  To: leimaohui; +Cc: OE-core

On 20 September 2013 07:46, leimaohui <leimaohui@cn.fujitsu.com> wrote:
> The haldaemon requires /sbin/udevadm to start.
> So creat a symbolic file  /sbin/udevadm that links to /usr/bin/udevadm.

Why not fix haldaemon to use the right path?

Ross


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1]udev_182: creat a symbolic file /sbin/udevadm to fix haldaemon starts error.
  2013-09-20  8:37 ` Burton, Ross
@ 2013-09-20  9:49   ` leimaohui
  2013-09-23 15:34     ` Saul Wold
  0 siblings, 1 reply; 4+ messages in thread
From: leimaohui @ 2013-09-20  9:49 UTC (permalink / raw)
  To: 'Burton, Ross'; +Cc: openembedded-core

On 20 September 2013 4:38 PM, Burton, Ross [mailto:ross.burton@intel.com] wrote:
> On 20 September 2013 07:46, leimaohui <leimaohui@cn.fujitsu.com> wrote:
> > The haldaemon requires /sbin/udevadm to start.
> > So creat a symbolic file  /sbin/udevadm that 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






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1]udev_182: creat a symbolic file /sbin/udevadm to fix haldaemon starts error.
  2013-09-20  9:49   ` leimaohui
@ 2013-09-23 15:34     ` Saul Wold
  0 siblings, 0 replies; 4+ messages in thread
From: Saul Wold @ 2013-09-23 15:34 UTC (permalink / raw)
  To: leimaohui; +Cc: openembedded-core

On 09/20/2013 02:49 AM, leimaohui wrote:
> On 20 September 2013 4:38 PM, Burton, Ross [mailto:ross.burton@intel.com] wrote:
>> On 20 September 2013 07:46, leimaohui <leimaohui@cn.fujitsu.com> wrote:
>>> The haldaemon requires /sbin/udevadm to start.
>>> So creat a symbolic file  /sbin/udevadm that 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."
>
As suggested by Ross, please patch haldaemon to use the the oecore location.

Thanks
	Sau!

> Best Regards,
> Maohui Lei
>
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-09-23 15:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-20  6:46 [PATCH 1/1]udev_182: creat a symbolic file /sbin/udevadm to fix haldaemon starts error leimaohui
2013-09-20  8:37 ` Burton, Ross
2013-09-20  9:49   ` leimaohui
2013-09-23 15:34     ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox