X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=init.sh;h=e7968b7cb51e5aec3d28d32a7e62cf0095f5254b;hb=009cd8db6dd81aecee23a38fca7fc2bcd2285775;hp=37ea1b5c19c9cb1231ce125d73b9f77c573bb838;hpb=2ae5690741422a2a1c7a26e706ce7f922a5f91ee;p=fedora-riscv.git diff --git a/init.sh b/init.sh index 37ea1b5..e7968b7 100755 --- a/init.sh +++ b/init.sh @@ -2,16 +2,19 @@ # Init script installed in stage3 disk image. # Root filesystem is mounted as ro, remount it as rw. -mount -o remount,rw / +mount.static -o remount,rw / # Mount standard filesystems. -mount -t proc /proc /proc -mount -t sysfs /sys /sys -mount -t tmpfs -o "nosuid,size=20%,mode=0755" tmpfs /run +mount.static -t proc /proc /proc +mount.static -t sysfs /sys /sys +mount.static -t tmpfs -o "nosuid,size=20%,mode=0755" tmpfs /run mkdir -p /run/lock # XXX devtmpfs +# Initialize dynamic linker cache. +ldconfig /usr/lib64 /usr/lib /lib64 /lib + echo echo "Welcome to the Fedora/RISC-V stage3 disk image" echo "https://fedoraproject.org/wiki/Architectures/RISC-V"