[OE-core] [PATCH 2/5] eglibc: add support for /etc/ld.so.conf.d/*.conf

Phil Blundell pb at pbcl.net
Wed Nov 27 12:46:12 UTC 2013


On Wed, 2013-11-27 at 15:55 +0800, Yue Tao wrote:
> +	else
> +		if [ -f ${D}${sysconfdir}/ld.so.conf ]; then
> +		echo 'include ld.so.conf.d/*.conf' > ${D}${sysconfdir}/ld.so.conf
> +			mkdir -p ${D}${sysconfdir}/ld.so.conf.d
> +		fi

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?

p.





More information about the Openembedded-core mailing list