All of lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] Buildroot Udev Compiling
Date: Sun, 1 Jul 2012 07:10:23 +0300	[thread overview]
Message-ID: <20120701041022.GA25705@sapphire.tkos.co.il> (raw)
In-Reply-To: <006601cd56c2$0004c850$000e58f0$@jonas-keidel.de>

Hi Jonas,

On Sat, Jun 30, 2012 at 03:12:27PM +0200, Jonas Keidel wrote:
> >  I can't find the root cause of the problem (in fact, in my case it
> already fails when compiling attr), but my guess is that
> BR2_PREFER_STATIC_LIB is causing trouble.  Do you really need it?
> 
> Yes I really need it, because i build an special initramfs booting script
> and for that I need udev static build.
> But maybe it is possible to use it in another way. How can I do it? How can
> I implement udev in my busybox environment?

Busybox includes mdev which is a simplified udev. Note, however, that mdev 
relies on the old hotplug mechanism to get device information from the kernel 
at run-time. This hostplug mechanism is inherently racy. For the initramfs use 
case this should be enough, though.

You may also consider using devtmpfs.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

  reply	other threads:[~2012-07-01  4:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-29  5:52 [Buildroot] Buildroot Udev Compiling Jonas Keidel
2012-06-30 13:04 ` Arnout Vandecappelle
2012-06-30 13:12   ` Jonas Keidel
2012-07-01  4:10     ` Baruch Siach [this message]
2012-07-02  9:32       ` Jonas Keidel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120701041022.GA25705@sapphire.tkos.co.il \
    --to=baruch@tkos.co.il \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.