#!/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 /
# 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"