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

Otavio Salvador otavio at ossystems.com.br
Tue Sep 18 15:31:57 UTC 2012


On Tue, Sep 18, 2012 at 12:22 PM, Martin Jansa <martin.jansa at gmail.com> wrote:
> 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.

It seems netbase needs to bump it's version so the RCONFLICTS can be like:

RCONFLICTS_${PN} = "netbase (< 5.0.1)

Regards

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br




More information about the Openembedded-core mailing list