[OE-core] [PATCH 2/8] opkg-arch-config: Renamed from opkg-config-base

Paul Barker paul at paulbarker.me.uk
Mon Dec 22 11:58:23 UTC 2014


On Mon, Dec 22, 2014 at 12:05:41PM +0100, Martin Jansa wrote:
> On Sun, Dec 21, 2014 at 10:11:51PM +0000, Paul Barker wrote:
> > +RREPLACES_${PN} = "opkg-config-base"
> 
> Is this enough for opkg to automatically replace opkg-config-base with
> opkg-arch-config during opkg upgrade?
> 
> With older opkg releases you always had to use whole combo
> RPROVIDES+RREPLACES+RCONFLICTS.
>

It works because the RDEPENDS of opkg was also changed and nothing else depends
on opkg-config-base. It may be a little more reliable to add RPROVIDES and
RCONFLICTS just incase anything else I've not spotted depends on opkg-config-base.

The same can be said for merging opkg-collateral into opkg, we may need to add
RPROVIDES and RCONFLICTS incase anything else still depends on opkg-collateral.

> > diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc
> > index 56c54b6..991c114 100644
> > --- a/meta/recipes-devtools/opkg/opkg.inc
> > +++ b/meta/recipes-devtools/opkg/opkg.inc
> > @@ -38,7 +38,7 @@ EXTRA_OECONF = "\
> >    --with-opkglibdir=${OPKGLIBDIR} \
> >  "
> >  
> > -RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-config-base run-postinsts"
> > +RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config run-postinsts"
> >  RDEPENDS_${PN}_class-native = ""
> >  RDEPENDS_${PN}_class-nativesdk = ""
> >  RREPLACES_${PN} = "opkg-nogpg"
> > -- 
> > 1.9.1
> > 

Thanks,

-- 
Paul Barker

Email: paul at paulbarker.me.uk
http://www.paulbarker.me.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20141222/9a06d69b/attachment-0002.sig>


More information about the Openembedded-core mailing list