[OE-core] Problem with debian renaming and upgrade-path on dora

Paul Eggleton paul.eggleton at linux.intel.com
Fri Aug 1 09:32:38 UTC 2014


Hi Henning,

On Tuesday 29 July 2014 19:32:51 Henning Heinold wrote:
> I have a problem to get a sane upgrade path for a library package which
> should be splitted in to serval packages on dora.
> 
> The old package is called libfoo now the package gets split into libfoo
> libfoo-bar libfoo-set and so on.
> 
> Because of the debian renaming for libraries the PN-library package libfoo
> is renamed to libfoo3.
> 
> If we now want to upgrade from libfoo to libfoo3 oneway would be to use
> RREPLACE, but the renaming wrapping is written at do_package into files,
> before all the other stuff kicks in.
> 
> So all RREPLACES are renamed to libfoo3 too, making it impossible to get a
> REPLACE stanza for libfoo into an ipk.

Hmm. I guess one workaround for this would be to set the RREPLACES / RPROVIDES 
/ RCONFLICTS in a Python function that is called after the debian renaming 
happens.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list