All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rolf Leggewie <no2spam@nospam.arcornews.de>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] classes/distutils-common-base.bbclass redefines FILES_${PN}-dbg
Date: Sat, 23 Jan 2010 21:58:04 +0100	[thread overview]
Message-ID: <hjfnt5$2sh$1@ger.gmane.org> (raw)

[-- 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


                 reply	other threads:[~2010-01-23 21:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='hjfnt5$2sh$1@ger.gmane.org' \
    --to=no2spam@nospam.arcornews.de \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.