[oe] [PATCH] netbase and opkg: reorder init scripts to make networking come up at first boot

Phil Blundell philb at gnu.org
Tue Mar 1 20:14:16 UTC 2011


On Tue, 2011-03-01 at 11:27 -0700, Tom Rini wrote:
> On 03/01/2011 10:58 AM, Phil Blundell wrote:
> > On Tue, 2011-03-01 at 18:45 +0100, Denis 'GNUtoo' Carikli wrote:
> >> Without that fix, usb0 doesn't come up at first boot
> >>    (tested on the bug machine, with Angstrom on a console-image).
> >>
> >> Signed-off-by: Denis 'GNUtoo' Carikli<GNUtoo at no-log.org>
> >
> > That sounds like it's just papering over some kind of problem in
> > netbase.  What exactly stops usb0 from working with the previous
> > arrangement?
> 
> Presumably having not configured the system.  We should try and look at 
> moving opkg's configure up to be as early as possible

It oughtn't really to matter.  Generally, if a package depends on having
been configured before its initscript runs, that means it will also fail
to work in the case where it's subsequently installed (or upgraded) on a
running system.  (Obviously that's a nonissue for distros that don't use
O_P_M but it would still be nice to get it right in the metadata.)

Also, packages which depend on having "opkg configure" run on the target
before they will work are a bit of a pain for folks with readonly
rootfses.  In some cases that's just unavoidable but I would have
sort-of hoped that a base package like netbase would manage this a bit
better.

p.






More information about the Openembedded-devel mailing list