[OE-core] [PATCH] rootfs-postcommands.bbclass: add support for /etc/ld.so.conf.d/*.conf

Burton, Ross ross.burton at intel.com
Fri Sep 29 13:37:57 UTC 2017


On 29 September 2017 at 03:58, Huang, Jackie (Wind River) <
jackie.huang at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170929/e20e1850/attachment-0002.html>


More information about the Openembedded-core mailing list