Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] debian: Set RPROVIDES to include the original packagename when renaming
@ 2014-08-19 12:40 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2014-08-19 12:40 UTC (permalink / raw)
  To: openembedded-core

Currently its hard for a packagegroup recipe to depend on something who's name
can change unpredictably. We therefore add in RPROVIDES for the original
package name so that these are also available to use as dependencies.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

diff --git a/meta/classes/debian.bbclass b/meta/classes/debian.bbclass
index 47d3ed8..8fe67c8 100644
--- a/meta/classes/debian.bbclass
+++ b/meta/classes/debian.bbclass
@@ -113,6 +113,7 @@ python debian_package_name_hook () {
                             newpkg = mlpre + newpkg
                     if newpkg != pkg:
                         d.setVar('PKG_' + pkg, newpkg)
+                        d.appendVar('RPROVIDES_' + pkg, " " + pkg)
 
     # reversed sort is needed when some package is substring of another
     # ie in ncurses we get without reverse sort: 




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-19 12:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-19 12:40 [PATCH] debian: Set RPROVIDES to include the original packagename when renaming Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox