<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 25, 2013 at 7:12 AM, Phil Blundell <span dir="ltr">&lt;<a href="mailto:pb@pbcl.net" target="_blank">pb@pbcl.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div class="im">&gt; Something like IMAGE_FEATURES += &quot;dbg-pkgs&quot; should trigger the addition<br>
&gt; of dbg packages.<br>
<br>
</div>I&#39;ve somewhat belatedly gotten around to using this and encountered a<br>
couple of issuettes:<br>
<br>
1. There was a spurious-looking RRECOMMENDS_${PN}-dbg in bitbake.conf<br>
which was causing ${PN} to be dragged into the image whenever ${PN}-dbg<br>
was installed.  This is undesirable because it means that, for example,<br>
any image which includes sysvinit-pidof will end up installing sysvinit<br>
and this might cause quite drastic changes to the behaviour of the<br>
resulting image.<br>
<br>
2. Having fixed the above I&#39;m now left with a couple of file conflicts<br>
in the -dbg packages.  For example, sysvinit and util-linux both<br>
ship /sbin/sulogin and so sysvinit-dbg and util-linux-dbg both want to<br>
install /sbin/.debug/sulogin.  This is unfortunate if you have an image<br>
which uses, say, sysvinit-pidof and util-linux-blkid.<br>
<br>
I&#39;m not quite sure what the right way to fix (2) is.  I suppose in an<br>
ideal world the -dbg packages would be separated in the same way the<br>
parent binary packages are, but that doesn&#39;t look entirely<br>
straightforward to arrange.</blockquote></div><br>I had implemented something along these lines back in oe classic, when I was at MontaVista.  See <a href="http://git.openembedded.org/openembedded/tree/classes/package_dbg.bbclass">http://git.openembedded.org/openembedded/tree/classes/package_dbg.bbclass</a> for that implementation. I haven&#39;t touched it or tried using it in some time, however.<br>

-- <br>Christopher Larson<br>clarson at kergoth dot com<br>Senior Software Engineer, Mentor Graphics
</div></div>