2 # Init script installed in stage3 disk image.
4 LD_LIBRARY_PATH=/usr/lib64
7 # Root filesystem is mounted as ro, remount it as rw.
8 mount.static -o remount,rw /
10 # Mount standard filesystems.
11 mount.static -t proc /proc /proc
12 mount.static -t sysfs /sys /sys
13 mount.static -t tmpfs -o "nosuid,size=20%,mode=0755" tmpfs /run
18 # Initialize dynamic linker cache.
22 echo "Welcome to the Fedora/RISC-V stage3 disk image"
23 echo "https://fedoraproject.org/wiki/Architectures/RISC-V"
32 # Sync disks and shut down.