On Fri, Aug 11, 2006 at 10:16:37AM +0100, Richard Purdie wrote:
> On Fri, 2006-08-11 at 09:06 +0200, lenehan commit wrote:
> > udev 092: Remove the spurious debug info from the packages. Closes #1241
> > "udev ships spurious debug info"
> >
> > UDEV_EXTRAS = "<override me>"
> > -FILES_${PN} += "${usrbindir} ${usrsbindir}"
> > +FILES_${PN} += "${usrbindir}/[!.]* ${usrsbindir}/[!.]*"
>
> For referencem, if you do this:
>
> > +FILES_${PN}-dbg += "${usrbindir}/.debug ${usrsbindir}/.debug"
>
> The change you made above to FILES_${PN} is no longer required as the
> -dbg package is deliberately before ${PN} and ${PN}-dev etc. in
> PACKAGES.
Turned out to be a little bit more magic to this, but RP's suggestion
was basically correct. After talking with RP on IRC and doing some
more experimentation I finally sorted this out:
1. A ${PN}-dbg package which MUST BE be the FIRST package in
PACKAGES. If a .bb defines PACKAGES then this needs to be added as
the first item. If a .bb uses PACKAGES =+ to add additional items
then it needs to be changed to += (ie, from prepend to append.)
2. When specifying FILES there should be a trailing "/*". So
"${bindir}/*" should be used rather than just "${bindir}". The former
includes only files in ${bindir} while the later includes files AND
directories (and therefore picks up the .debug directory). Matching
is done by the fnmatch python function.
I've added these details to the PR as well:
http://bugs.openembedded.org/show_bug.cgi?id=1211
Thanks.
--
Jamie Lenehan <[EMAIL PROTECTED]>
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe