Cross-compile ncurses into stage3 chroot.
[fedora-riscv.git] / init.sh
1 #!/bin/bash -
2 # Init script installed in stage3 disk image.
3
4 echo
5 echo "Welcome to the Fedora/RISC-V stage3 disk image"
6 echo "https://fedoraproject.org/wiki/Architectures/RISC-V"
7 echo
8
9 PS1='stage3:\w\$ '
10 export PS1
11
12 # Run bash.
13 bash -i
14
15 # Sync disks and shut down.
16 sync
17 poweroff