Commit 6fb80df1 authored by Héctor Orón Martínez's avatar Héctor Orón Martínez

sysroot: include sysroot ld.so.conf.d files

Signed-off-by: Héctor Orón Martínez's avatarHéctor Orón Martínez <hector.oron@collabora.co.uk>
Reviewed-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
Differential Revision: https://phabricator.apertis.org/D7398
parent a5406159
......@@ -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
Please register or sign in to reply
- action: pack
compression: gz
file: {{ $sysroot }}
  • If you do not know where sysroot is to be placed, then you can not use absolute path. If you have standard sysroot path it might work, but that path is architecture dependent.

  • I don’t think you’re supposed to call ldconfig without -r <sysroot> (or without running chroot), and it does read files relative to the sysroot. More than that, it doesn’t seem (from the ldconfig’s source code) relative paths work unless you actually chdir to /etc beforehand.

    Edited by Andrej Shadura
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment