* Problem with debian renaming and upgrade-path on dora
@ 2014-07-29 17:32 Henning Heinold
2014-08-01 9:32 ` Paul Eggleton
0 siblings, 1 reply; 3+ messages in thread
From: Henning Heinold @ 2014-07-29 17:32 UTC (permalink / raw)
To: openembedded-core
Hi,
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.
Bye Henning
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with debian renaming and upgrade-path on dora
2014-07-29 17:32 Problem with debian renaming and upgrade-path on dora Henning Heinold
@ 2014-08-01 9:32 ` Paul Eggleton
2014-08-01 10:52 ` Martin Jansa
0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2014-08-01 9:32 UTC (permalink / raw)
To: Henning Heinold; +Cc: openembedded-core
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem with debian renaming and upgrade-path on dora
2014-08-01 9:32 ` Paul Eggleton
@ 2014-08-01 10:52 ` Martin Jansa
0 siblings, 0 replies; 3+ messages in thread
From: Martin Jansa @ 2014-08-01 10:52 UTC (permalink / raw)
To: Paul Eggleton; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 1670 bytes --]
On Fri, Aug 01, 2014 at 10:32:38AM +0100, Paul Eggleton wrote:
> 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.
Why do you want to do the upgrade one-way?
I think that one of debian renaming benefits is that the old libfoo
package stays installed on target until all programs aren't rebuilt
against libfoo3 and upgraded - then old libfoo could be automatically
uninstalled as orphaned package.
> 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
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-08-01 10:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-29 17:32 Problem with debian renaming and upgrade-path on dora Henning Heinold
2014-08-01 9:32 ` Paul Eggleton
2014-08-01 10:52 ` Martin Jansa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox