[yocto] [meta-raspberrypi][PATCH] Fix FILESEXTRAPATHS, dir is "netbase-5.0"

Paul Barker paul at paulbarker.me.uk
Sat Apr 20 06:05:21 PDT 2013


On 19 April 2013 17:23, Saul Wold <sgw at linux.intel.com> wrote:
> Just another note about the netbase, for 1.4 the interfaces file moved to
> init-ifupdown, so that file should move to a new recipe with bbappends for
> init-ifupdown-1.0.
>
> We just fixed meta-yocto for the beagleboard  in the final 1.4 release.
>

Ok, had a look at this now.

As originally pointed out by Robert, the hosts and interfaces files
are not picked up as the wrong directory is named in
netbase_5.0.bbappend. However, the image I've just built works fine
with the stock files in openembedded-core. Both eth0 and lo interfaces
come up fine. Other interfaces listed in the stock files don't have an
"auto" line so no attempt is made to bring them up at boot.

If we look at the interfaces file in meta-raspberrypi
(http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/recipes-core/netbase/netbase-5.0/raspberrypi/interfaces),
it doesn't even list eth0 so I can't see how it would work.

The hosts file (http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/recipes-core/netbase/netbase-5.0/raspberrypi/hosts)
just adds the names 'raspberrypi' and 'rpi' as aliases for localhost,
which I don't see the purpose of myself.

So I'd recommend dropping these from meta-raspberrypi completely. Just
my opinion though, anyone else got any thoughts on this?

--
Paul Barker

Email: paul at paulbarker.me.uk
http://www.paulbarker.me.uk



More information about the yocto mailing list