[OE-core] [PATCH v3] netbase: split up in netbase and init-ifupdown

Martin Jansa martin.jansa at gmail.com
Tue Sep 18 15:22:16 UTC 2012


On Tue, Sep 18, 2012 at 02:40:04PM +0200, Koen Kooi wrote:
> 
> Op 18 sep. 2012, om 12:01 heeft Constantin Musca <constantinx.musca at intel.com> het volgende geschreven:
> 
> > - netbase should only include etc-rpc, etc-protocols, etc-services
> > and the hosts file
> > - the init script/configuration files should be in another package
> > (init-ifupdown)
> > 
> > [YOCTO #2486]
> > 
> > Signed-off-by: Constantin Musca <constantinx.musca at intel.com>
> > 
> > --- /dev/null
> > +++ b/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb
> > @@ -0,0 +1,41 @@
> > +SUMMARY = "Basic TCP/IP networking init scripts and configuration files"
> > +DESCRIPTION = "This package provides high level tools to configure network interfaces"
> > +HOMEPAGE = "http://packages.debian.org/ifupdown"
> > +SECTION = "base"
> > +LICENSE = "GPLv2"
> > +LIC_FILES_CHKSUM = "file://${WORKDIR}/copyright;md5=3dd6192d306f582dee7687da3d8748ab"
> > +RDEPENDS_${PN} = "netbase"
> > +RCONFLICTS_${PN} = "netbase (< 5.0-r1)"
> 
> Since R* is for packaging they should live below do_install to mimic the order of task execution in the recipe

And I guess that layers changing machine specific parts of netbase did
that with PRINC so e.g. for me, I've

SHR root at gjama ~ $ opkg info netbase
Package: netbase
Version: 5.0-r8

So I guess I'll have to change this RCONFLICTS too in such layer, but
problem is that in BSP you don't know how many other layers someone is
using so PR of netbase (before this patch) is just lucky guess in this one.

Cheers,

> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120918/bf84bdb3/attachment-0002.sig>


More information about the Openembedded-core mailing list