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
Add nano (editor), grep and less to the stage3 chroot, for usability.
[fedora-riscv.git]
/
init.sh
diff --git
a/init.sh
b/init.sh
index
cd8dfa2
..
e7968b7
100755
(executable)
--- a/
init.sh
+++ b/
init.sh
@@
-1,20
+1,20
@@
#!/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.
# Root filesystem is mounted as ro, remount it as rw.
-mount -o remount,rw /
+mount
.static
-o remount,rw /
# Mount standard filesystems.
# 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
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"
echo
echo "Welcome to the Fedora/RISC-V stage3 disk image"
echo "https://fedoraproject.org/wiki/Architectures/RISC-V"