diff options
author | David Cantrell <dcantrell@redhat.com> | 2009-07-27 10:48:15 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-07-28 14:27:47 -1000 |
commit | ffecb7fe44cfb818bdba7e6b8481086a6937a6f1 (patch) | |
tree | 646a6494523742bc5e6cf00f35efc4e12843a9ba /scripts/buildinstall.functions | |
parent | 4f509c27e1a78e3373b5db1b5eee6f52f90623ec (diff) | |
download | anaconda-ffecb7fe44cfb818bdba7e6b8481086a6937a6f1.tar.gz anaconda-ffecb7fe44cfb818bdba7e6b8481086a6937a6f1.tar.xz anaconda-ffecb7fe44cfb818bdba7e6b8481086a6937a6f1.zip |
Make sure s390 gets /lib/ld64.so.1
If s390 images lack /lib/ld64.so.1, nothing works.
Diffstat (limited to 'scripts/buildinstall.functions')
-rwxr-xr-x | scripts/buildinstall.functions | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/buildinstall.functions b/scripts/buildinstall.functions index e978bf56b..3b10dffde 100755 --- a/scripts/buildinstall.functions +++ b/scripts/buildinstall.functions @@ -85,6 +85,11 @@ EOF for l in $(/usr/sbin/chroot $root find /$LDSODIR -maxdepth 1 -type l -name ld*.so*); do [ "$(/usr/sbin/chroot $root readlink -f $l)" == "$LDSO" ] && DSO_DEPS="$DSO_DEPS $l" done + if [ "$(uname -m)" == "s390x" ]; then + for l in $(/usr/sbin/chroot $root find /lib -maxdepth 1 -type 1 -name ld*.so*); do + [ "$(/usr/sbin/chroot $root readlink -f $l)" == "$LDSO" ] && DSO_DEPS="$DSO_DEPS $l" + done + fi [ -n "$DEBUG" ] && echo "DSO_DEPS for $bin are $DSO_DEPS" } |