Skip to content
Snippets Groups Projects
Commit 6fb80df1 authored by Héctor Orón Martínez's avatar Héctor Orón Martínez
Browse files

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


Signed-off-by: default 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
No related branches found
No related tags found
No related merge requests found
......@@ -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
  • Owner

    @zumbi, have you tested this properly? :wink:

  • If I did I do not remember, so long ago, but yes, something along the lines is needed.

  • Owner

    It needs absolute paths, dpkg-shlibdeps was failing because of this :slight_smile:

  • 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.

  • Owner

    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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment