From 634fbf8241da9182e63e36805de3fa659fc5ffd9 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 9 Aug 2016 17:28:58 +0100 Subject: [PATCH] init: Don't set LD_LIBRARY_PATH, run ldconfig with paths instead. --- init.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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" -- 1.8.3.1