Ok, I will do this in the glibc recipe instead if it’s preferred.

Thanks,
Jackie

From: Burton, Ross [mailto:ross.bur...@intel.com]
Sent: Friday, September 29, 2017 21:38
To: Huang, Jie (Jackie)
Cc: OE-core
Subject: Re: [OE-core] [PATCH] rootfs-postcommands.bbclass: add support for 
/etc/ld.so.conf.d/*.conf

On 29 September 2017 at 03:58, Huang, Jackie (Wind River) 
<jackie.hu...@windriver.com<mailto:jackie.hu...@windriver.com>> wrote:
     - This will cause the existing contents of ld.so.conf to be obliterated
       if the file wasn't empty to begin with.  (I know that it is empty in
       oe-core, but a distro layer might be overlaying this file with its
       own.)

     - Also, it seems as though the choice of whether to use an "ld.so.conf.d"
       arrangement or not is one that the distro should be making. Is there
       a strong reason why this needs to be done in oe-core?

This is easily handled in many ways.  Check the include doesn't already exist 
and concatenate the file instead of overwriting it, for example.  Or add the 
include to the default oe-core ld.so.conf, and distros that want to change 
ld.so.conf can by changing that file.

Ross


-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to