diff options
author | Richard Dale <richard.dale@codethink.co.uk> | 2015-03-12 10:20:01 +0000 |
---|---|---|
committer | Richard Dale <richard.dale@codethink.co.uk> | 2015-03-12 13:31:58 +0000 |
commit | 8076cd2874a615bbd159ae3fbc076b16b38b7b6b (patch) | |
tree | 3786964162fe828627fd456fa354371afe808345 /strata/build-essential/stage2-glibc.morph | |
parent | 5e09ce28da6bddfc75661837058743447474f185 (diff) | |
download | definitions-baserock/rdale/fhs-remove-ld-so-conf.tar.gz |
Create /etc/ld.so.conf in glibc chunks, as it is glibc specificbaserock/rdale/fhs-remove-ld-so-conf
Diffstat (limited to 'strata/build-essential/stage2-glibc.morph')
-rw-r--r-- | strata/build-essential/stage2-glibc.morph | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/strata/build-essential/stage2-glibc.morph b/strata/build-essential/stage2-glibc.morph index ffa0970b..48ceb767 100644 --- a/strata/build-essential/stage2-glibc.morph +++ b/strata/build-essential/stage2-glibc.morph @@ -32,6 +32,15 @@ build-commands: install-commands: - cd o && make install_root="$DESTDIR" localtime=UTC install +- mkdir -p "$DESTDIR/etc" +- | + cat <<EOF > ld.so.conf + /lib + /usr/lib + /usr/local/lib + include /etc/ld.so.conf.d/*.conf + EOF +- install -m 644 -o root -g root ld.so.conf "$DESTDIR/etc/ld.so.conf" - sh stage2-glibc-fix-specs # Install a symlink for the program interpreter (ld.so) so that binaries |