Gentoo Archives: gentoo-embedded

From: Marc Blumentritt <marc.blumentritt@×××××.de>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] Re: baselayout-2, busybox and uclibc
Date: Tue, 16 Oct 2007 10:37:15
Message-Id: ff22sn$44l$1@ger.gmane.org
In Reply to: Re: [gentoo-embedded] Re: baselayout-2, busybox and uclibc by Natanael Copa
1 Natanael Copa schrieb:
2 > On Sun, 2007-10-14 at 15:44 +0200, Marc Blumentritt wrote:
3 >>> clock: There is the following message:
4 >>> /sbin/hwclock: unrecognized option '--noadjfile'
5 >> This is done by setting of /etc/TZ, so clock is not needed in my setup.
6 >
7 > This should be fixed in busybox. IIRC its fairly simple.
8
9 I'm not a dev, so I have no clue how best to fix this.
10
11 >
12 >>> -> busybox problem or other configuration of clock is required.
13 >>>
14 >>> localmount: there is just thise message:
15 >>> Segmentation fault
16 >>> I don't know, where this comes from. Further investigation is required.
17 >>>
18 >>> keymap and consolefont:
19 >>> /lib/rcscripts/sh/runscript.sh: line 91:kbd_mode: not found
20 >>> /bin/loadkeys not found
21 >> I will do this with a small script and busybox tools, so these two
22 >> scripts are not needed anymore, too.
23 >
24 > I use loadkmap from busybox. It would actually be neat if baselayout-2
25 > supported native loadkmap as a fallback.
26
27 I plan to use loadkmap from bb, too. And if baselayout-2 would support
28 this, it would be great.
29 >
30 >
31 > Have a look at https://bugs.gentoo.org/show_bug.cgi?id=175179 for a
32 > patch and info on how to generate the bb kmaps.
33 Why not using dumpkmap from bb?
34
35 >
36 >>> net.eth0: I want to use udhcpc from busybox (set modules="udhcpc" in
37 >>> net), but I get the following error:
38 >>> /sbin/udhcpc: unrecognized option '--env'
39 >>>
40 >>> -> busybox problem or other configuration of net is required.
41 >> Still a problem. Would be cool, if either baselayout-2 supports
42 >> bb-udhcpc or bb-udhcpc gets more conform with udhcpc
43 >
44 > what is this --env option supposed to do?
45
46 >From what I see, this option results from a Gentoo patch to udhcpc. I
47 found this in /lib/rcscripts/net/udhcpc.sh :
48 [...]
49 udhcpc_start() {
50 [...]
51 # Setup options for the udhcpc script
52 # This requires a specfic Gentoo patch to udhcp which will not
53 # be accepted upstream.
54 if [[ " ${!d} " == *" nogateway "* ]] ; then
55 opts="${opts} --env PEER_ROUTERS=no"
56 else
57 opts="${opts} --env PEER_ROUTERS=yes"
58 fi
59 [...]
60
61 So this seems to be a "Gentoo made" problem, which should be solved
62 inside of gentoo?
63
64 Regards,
65 Marc
66
67 --
68 gentoo-embedded@g.o mailing list