Re: [OE-core] [PATCH v2] ldconfig-native: Add usrmerge support

2023-12-15 Thread Khem Raj
On Fri, Dec 15, 2023 at 4:37 AM Johannes Pointner wrote: > > On Wed, Dec 13, 2023 at 12:01 PM Ross Burton wrote: > > > > On 6 Dec 2023, at 07:40, Johannes Pointner via lists.openembedded.org > > wrote: > > > > > > From: Johannes Pointner > > > > > > If DISTRO_FEATURE usrmerge is enabled,

Re: [OE-core] [PATCH v2] ldconfig-native: Add usrmerge support

2023-12-15 Thread Johannes Pointner
On Wed, Dec 13, 2023 at 12:01 PM Ross Burton wrote: > > On 6 Dec 2023, at 07:40, Johannes Pointner via lists.openembedded.org > wrote: > > > > From: Johannes Pointner > > > > If DISTRO_FEATURE usrmerge is enabled, SLIBDIR is just a symlink to LIBDIR. > > ldconfig-native uses hardcoded paths

Re: [OE-core] [PATCH v2] ldconfig-native: Add usrmerge support

2023-12-13 Thread Ross Burton
On 6 Dec 2023, at 07:40, Johannes Pointner via lists.openembedded.org wrote: > > From: Johannes Pointner > > If DISTRO_FEATURE usrmerge is enabled, SLIBDIR is just a symlink to LIBDIR. > ldconfig-native uses hardcoded paths for SLIBDIR and LIBDIR that are fine for > the not usrmerge case. But

[OE-core] [PATCH v2] ldconfig-native: Add usrmerge support

2023-12-05 Thread Johannes Pointner via lists.openembedded.org
From: Johannes Pointner If DISTRO_FEATURE usrmerge is enabled, SLIBDIR is just a symlink to LIBDIR. ldconfig-native uses hardcoded paths for SLIBDIR and LIBDIR that are fine for the not usrmerge case. But if usrmerge is enabled ldconfig-native generates a ld.so.cache, which is done in rootfs.py,