[oe] [RFC][PATCH] binconfig.bbclass: search configs in PKGD instead of S

Andreas Oberritter obi at opendreambox.org
Fri Jan 28 01:19:07 UTC 2011


On 01/27/2011 11:31 PM, Stanislav Brabec wrote:
> It seems that searching for binconfig in S makes more problems than it
> brings benefits. It breaks for example ncurses - it populates
> ncurses-config instead of ncurses5-config and ncursesw5-config).

Indeed. Installing *-config files which don't get installed by the
recipe is prone to cause subtle errors. I modified pkgconfig.bbclass in
a similar way in commit c2c8fe4c5629add94bd0b922f5b3446624a9f4d8.

"find recipes -name "*-config" -type f" shows candidates which may cause
breakage with this patch applied, in case they need to be installed but
only get copied to the source directory.

> Searching in the installed root seems to be more logical.
> 
> Most packages don't need to be ported to this change, as they install
> config file with the same name as it exists in sources. But probably
> several will need porting.

Why is this function needed at all? Isn't it possible to do the mangling
before or after do_install like in pkgconfig.bbclass?

Regards,
Andreas




More information about the Openembedded-devel mailing list