sysroot: include sysroot ld.so.conf.d files
Signed-off-by:Héctor Orón Martínez <hector.oron@collabora.co.uk> Reviewed-by:
Emanuele Aina <emanuele.aina@collabora.com> Differential Revision: https://phabricator.apertis.org/D7398
... | ... | @@ -15,6 +15,10 @@ actions: |
chroot: true | ||
command: symlinks -rc / | ||
- action: run | ||
chroot: true | ||
command: echo "include ld.so.conf.d/*.conf" > /etc/ld.so.conf | ||
|
||
- action: pack | ||
compression: gz | ||
file: {{ $sysroot }} |
-
I don’t think you’re supposed to call
ldconfig
without-r <sysroot>
(or without runningchroot
), and it does read files relative to the sysroot. More than that, it doesn’t seem (from theldconfig
’s source code) relative paths work unless you actuallychdir
to/etc
beforehand.Edited by Andrej Shadura