[OE-core] [PATCH] rootfs-postcommands.bbclass: add support for /etc/ld.so.conf.d/*.conf
Huang, Jie (Jackie)
Jackie.Huang at windriver.com
Sat Sep 30 01:23:12 UTC 2017
Ok, I will do this in the glibc recipe instead if it’s preferred.
Thanks,
Jackie
From: Burton, Ross [mailto:ross.burton at 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.huang at windriver.com<mailto: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/20170930/7c8c072f/attachment-0002.html>
More information about the Openembedded-core
mailing list