git.annexia.org
/
fedora-riscv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
init: Run ldconfig
[fedora-riscv.git]
/
init.sh
diff --git
a/init.sh
b/init.sh
index
37ea1b5
..
267ae74
100755
(executable)
--- a/
init.sh
+++ b/
init.sh
@@
-1,6
+1,9
@@
#!/bin/bash -
# Init script installed in stage3 disk image.
#!/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 -o remount,rw /
# Root filesystem is mounted as ro, remount it as rw.
mount -o remount,rw /
@@
-12,6
+15,9
@@
mkdir -p /run/lock
# XXX devtmpfs
# XXX devtmpfs
+# Initialize dynamic linker cache.
+ldconfig
+
echo
echo "Welcome to the Fedora/RISC-V stage3 disk image"
echo "https://fedoraproject.org/wiki/Architectures/RISC-V"
echo
echo "Welcome to the Fedora/RISC-V stage3 disk image"
echo "https://fedoraproject.org/wiki/Architectures/RISC-V"