[oe-commits] Mike Crowe : libc-common: Apply Debian-naming to libc debug symbols too

git at git.openembedded.org git at git.openembedded.org
Thu Mar 22 19:22:19 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: e338607f36fcad89af7d796b2e9f3a31f11e54d6
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e338607f36fcad89af7d796b2e9f3a31f11e54d6

Author: Mike Crowe <mac at mcrowe.com>
Date:   Tue Mar 20 17:27:43 2012 +0000

libc-common: Apply Debian-naming to libc debug symbols too

Ensure that the eglibc-dbg package follows Debian naming too if
enabled. Retain backward compatibility with old libc-dbg naming.

Signed-off-by: Mike Crowe <mac at mcrowe.com>

---

 meta/classes/libc-common.bbclass        |    5 +++++
 meta/recipes-core/eglibc/eglibc_2.13.bb |    2 +-
 meta/recipes-core/eglibc/eglibc_2.15.bb |    1 +
 3 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/meta/classes/libc-common.bbclass b/meta/classes/libc-common.bbclass
index 962f205..9b91f0a 100644
--- a/meta/classes/libc-common.bbclass
+++ b/meta/classes/libc-common.bbclass
@@ -27,4 +27,9 @@ python populate_packages_prepend () {
 		bpn = d.getVar('BPN', True)
 		d.setVar('PKG_'+bpn, 'libc6')
 		d.setVar('PKG_'+bpn+'-dev', 'libc6-dev')
+		d.setVar('PKG_'+bpn+'-dbg', 'libc6-dbg')
+		# For backward compatibility with old -dbg package
+		d.setVar('RPROVIDES_' + bpn + '-dbg', 'libc-dbg')
+		d.setVar('RCONFLICTS_' + bpn + '-dbg', 'libc-dbg')
+		d.setVar('RREPLACES_' + bpn + '-dbg', 'libc-dbg')
 }
diff --git a/meta/recipes-core/eglibc/eglibc_2.13.bb b/meta/recipes-core/eglibc/eglibc_2.13.bb
index e718a1f..a4f59b6 100644
--- a/meta/recipes-core/eglibc/eglibc_2.13.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.13.bb
@@ -3,7 +3,7 @@ require eglibc.inc
 SRCREV = "15508"
 
 DEPENDS += "gperf-native"
-PR = "r20"
+PR = "r21"
 PR_append = "+svnr${SRCPV}"
 
 EGLIBC_BRANCH="eglibc-2_13"
diff --git a/meta/recipes-core/eglibc/eglibc_2.15.bb b/meta/recipes-core/eglibc/eglibc_2.15.bb
index b4c1ea5..3820f5a 100644
--- a/meta/recipes-core/eglibc/eglibc_2.15.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.15.bb
@@ -3,6 +3,7 @@ require eglibc.inc
 SRCREV = "16540"
 
 DEPENDS += "gperf-native"
+PR = "r1"
 PR_append = "+svnr${SRCPV}"
 
 EGLIBC_BRANCH="eglibc-2_15"





More information about the Openembedded-commits mailing list