On 7/28/14, 1:47 PM, Khem Raj wrote:
On Mon, Jul 28, 2014 at 11:39 AM, Peter Seebach
<[email protected]> wrote:
The default behavior for USE_LDCONFIG is to use an empty ld.so.conf.
In some cases, it might be desireable to have an ld.so.conf.d directory,
and inherit files from there. This is a common enough use case to
justify support in the recipe, but not common enough to make it the
default. So, eglibc gets a new USE_LDCONFIG_CONF_D value, default 0.
If it's set to 1, we create the directory and add an "include" line
for it to ld.so.conf.
the patch is good but introducing another variable is not needed you
can cover it under US_LDCONFIG itself, ldconfig with empty ld.so.conf
will still parse standard lib search paths anyway
Secondly when we use ldconfig it generates ld.so.cache under /etc
so I hope we take care of this when we have ro-rootfs
In a read-only root case, the ld.so.cache is generated in the cross environment.
I don't know if the cross ldconfig knows about the includes though. Someone
will have to check that.
--Mark
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core