* [PATCH] classes/distutils-common-base.bbclass redefines FILES_${PN}-dbg
@ 2010-01-23 20:58 Rolf Leggewie
0 siblings, 0 replies; only message in thread
From: Rolf Leggewie @ 2010-01-23 20:58 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 569 bytes --]
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
[-- Attachment #2: 0001-distutils-common-base-fix-definition-of-FILES_-PN.patch --]
[-- Type: text/x-patch, Size: 1013 bytes --]
From 025e057f58edd7f1ba9854b38cf15b4967d64910 Mon Sep 17 00:00:00 2001
From: Rolf Leggewie <oe-devel@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 \
--
1.5.4.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-23 21:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-23 20:58 [PATCH] classes/distutils-common-base.bbclass redefines FILES_${PN}-dbg Rolf Leggewie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.