[oe-commits] Rolf Leggewie : classes/distutils-common-base. bbclass redefines FILES_${PN}-dbg

git version control git at git.openembedded.org
Sun Jan 24 10:39:20 UTC 2010


Module: openembedded.git
Branch: holger/staging-branch
Commit: aa1801675bce24264a66e87999f36027d616d0cf
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=aa1801675bce24264a66e87999f36027d616d0cf

Author: Rolf Leggewie <no2spam at nospam.arcornews.de>
Date:   Sat Jan 23 10:58:04 2010 +0000

classes/distutils-common-base.bbclass redefines FILES_${PN}-dbg

Hello,

classes/distutils-common-base.bbclass redefines instead of appends to
the list of files to include in the debug packages.  I have verified the
problem and the proper fix taking the rpm recipe as an example.

The attached patch possibly changes the contents of dependant packages.
 There are a number of them, so I don't think it's practical to bump PR
for all of them.  Distro maintainers should bump distro PR or something.
 I'm not aware of an elegant solution in OE to deal with this.

$ rgrep distutils recipes/ -l|wc -l
233

Regards

Rolf

>From 025e057f58edd7f1ba9854b38cf15b4967d64910 Mon Sep 17 00:00:00 2001
From: Rolf Leggewie <oe-devel at rolf.leggewie.biz>
Date: Sat, 23 Jan 2010 21:24:39 +0100
Subject: [PATCH] distutils-common-base: fix definition of FILES_${PN}-dbg

* use += instead of =
  this appends new file paths to include instead of replacing the
  current definition

---

 classes/distutils-common-base.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/distutils-common-base.bbclass b/classes/distutils-common-base.bbclass
index 01bf9ea..87578b7 100644
--- a/classes/distutils-common-base.bbclass
+++ b/classes/distutils-common-base.bbclass
@@ -23,7 +23,7 @@ FILES_${PN}-dev += "\
   ${libdir}/pkgconfig \
   ${libdir}/${PYTHON_DIR}/site-packages/*.la \
 "
-FILES_${PN}-dbg = "\
+FILES_${PN}-dbg += "\
   ${libdir}/${PYTHON_DIR}/site-packages/.debug \
   ${libdir}/${PYTHON_DIR}/site-packages/*/.debug \
   ${libdir}/${PYTHON_DIR}/site-packages/*/*/.debug \





More information about the Openembedded-commits mailing list