diff options
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 1fe00e41..9ca0d4c1 100644 --- a/strata/build-essential/stage2-glibc.morph +++ b/strata/build-essential/stage2-glibc.morph @@ -22,6 +22,15 @@ build-commands: - cd o && make localtime=UTC 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 -d $DESTDIR/lib - | |