From: Richard W.M. Jones Date: Tue, 9 Aug 2016 16:28:58 +0000 (+0100) Subject: init: Don't set LD_LIBRARY_PATH, run ldconfig with paths instead. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=634fbf8241da9182e63e36805de3fa659fc5ffd9;p=fedora-riscv.git init: Don't set LD_LIBRARY_PATH, run ldconfig with paths instead. --- diff --git a/init.sh b/init.sh index 7dbb8fd..e7968b7 100755 --- a/init.sh +++ b/init.sh @@ -1,9 +1,6 @@ #!/bin/bash - # Init script installed in stage3 disk image. -LD_LIBRARY_PATH=/usr/lib64 -export LD_LIBRARY_PATH - # Root filesystem is mounted as ro, remount it as rw. mount.static -o remount,rw / @@ -16,7 +13,7 @@ mkdir -p /run/lock # XXX devtmpfs # Initialize dynamic linker cache. -ldconfig +ldconfig /usr/lib64 /usr/lib /lib64 /lib echo echo "Welcome to the Fedora/RISC-V stage3 disk image"