2018-06-13 20:03:12 +00:00
|
|
|
|
# Kickstart file for Fedora RISC-V (riscv64) Developer Rawhide
|
|
|
|
|
|
2018-08-30 10:28:15 +00:00
|
|
|
|
#repo --name="koji-override-0" --baseurl=http://fedora-riscv.tranquillity.se/repos-dist/f29/latest/riscv64/
|
2018-06-13 20:03:12 +00:00
|
|
|
|
|
|
|
|
|
install
|
|
|
|
|
text
|
|
|
|
|
#reboot
|
|
|
|
|
lang en_US.UTF-8
|
|
|
|
|
keyboard us
|
|
|
|
|
# short hostname still allows DHCP to assign domain name
|
2018-06-20 12:39:57 +00:00
|
|
|
|
network --bootproto dhcp --device=link --hostname=fedora-riscv
|
2018-06-13 20:03:12 +00:00
|
|
|
|
rootpw riscv
|
|
|
|
|
firewall --enabled --ssh
|
|
|
|
|
timezone --utc America/New_York
|
|
|
|
|
selinux --disabled
|
|
|
|
|
services --enabled=sshd,NetworkManager,chronyd
|
|
|
|
|
|
|
|
|
|
bootloader --location=none --disabled
|
|
|
|
|
|
|
|
|
|
zerombr
|
|
|
|
|
clearpart --all --initlabel --disklabel=gpt
|
2018-08-30 11:32:36 +00:00
|
|
|
|
part / --fstype="ext4" --size=6444
|
2018-06-13 20:03:12 +00:00
|
|
|
|
|
|
|
|
|
# Halt the system once configuration has finished.
|
|
|
|
|
poweroff
|
|
|
|
|
|
|
|
|
|
%packages
|
|
|
|
|
@core
|
|
|
|
|
@buildsys-build
|
2018-08-30 10:28:15 +00:00
|
|
|
|
@base-x
|
2018-08-30 11:32:36 +00:00
|
|
|
|
@hardware-support
|
2018-06-13 20:03:12 +00:00
|
|
|
|
|
|
|
|
|
openssh
|
|
|
|
|
openssh-server
|
|
|
|
|
glibc-langpack-en
|
|
|
|
|
lsof
|
|
|
|
|
nano
|
|
|
|
|
openrdate
|
|
|
|
|
chrony
|
|
|
|
|
systemd-udev
|
|
|
|
|
vim-minimal
|
|
|
|
|
neovim
|
|
|
|
|
screen
|
|
|
|
|
hostname
|
|
|
|
|
bind-utils
|
|
|
|
|
htop
|
|
|
|
|
tmux
|
|
|
|
|
strace
|
|
|
|
|
pciutils
|
|
|
|
|
nfs-utils
|
|
|
|
|
ethtool
|
|
|
|
|
rsync
|
|
|
|
|
hdparm
|
|
|
|
|
git
|
|
|
|
|
moreutils
|
|
|
|
|
rpmdevtools
|
|
|
|
|
fedpkg
|
|
|
|
|
mailx
|
|
|
|
|
mutt
|
|
|
|
|
patchutils
|
2018-07-27 12:29:09 +00:00
|
|
|
|
ninja-build
|
|
|
|
|
cmake
|
|
|
|
|
cmake-fedora
|
|
|
|
|
extra-cmake-modules
|
|
|
|
|
elfutils
|
|
|
|
|
gdisk
|
|
|
|
|
util-linux
|
|
|
|
|
gparted
|
|
|
|
|
parted
|
|
|
|
|
fpaste
|
|
|
|
|
vim-common
|
|
|
|
|
hexedit
|
|
|
|
|
koji-builder
|
2018-08-26 05:16:05 +00:00
|
|
|
|
mc
|
|
|
|
|
evemu
|
|
|
|
|
lftp
|
|
|
|
|
mtr
|
|
|
|
|
wget
|
|
|
|
|
aria2
|
|
|
|
|
incron
|
2018-08-26 05:35:37 +00:00
|
|
|
|
emacs
|
|
|
|
|
vim
|
|
|
|
|
neofetch
|
2018-08-26 07:39:48 +00:00
|
|
|
|
bash-completion
|
2018-08-26 08:29:48 +00:00
|
|
|
|
zsh
|
2018-08-26 11:53:18 +00:00
|
|
|
|
nvme-cli
|
2018-08-26 18:04:43 +00:00
|
|
|
|
pv
|
2018-08-26 19:14:26 +00:00
|
|
|
|
dtc
|
2018-08-29 05:21:18 +00:00
|
|
|
|
axel
|
|
|
|
|
bc
|
|
|
|
|
bison
|
|
|
|
|
elfutils-devel
|
|
|
|
|
flex
|
|
|
|
|
m4
|
|
|
|
|
net-tools
|
|
|
|
|
openssl-devel
|
|
|
|
|
perl-devel
|
|
|
|
|
perl-generators
|
|
|
|
|
pesign
|
2018-08-30 10:28:15 +00:00
|
|
|
|
xterm
|
|
|
|
|
fluxbox
|
2018-08-31 09:04:51 +00:00
|
|
|
|
elinks
|
|
|
|
|
lynx
|
2018-08-31 11:13:28 +00:00
|
|
|
|
awesome
|
|
|
|
|
midori
|
|
|
|
|
dillo
|
|
|
|
|
epiphany
|
2018-08-31 15:55:36 +00:00
|
|
|
|
i3
|
|
|
|
|
sway
|
2018-09-01 08:30:25 +00:00
|
|
|
|
pcmanfm
|
2018-09-01 09:14:54 +00:00
|
|
|
|
entr
|
|
|
|
|
cowsay
|
|
|
|
|
ack
|
|
|
|
|
the_silver_searcher
|
|
|
|
|
tldr
|
|
|
|
|
ncdu
|
|
|
|
|
colordiff
|
|
|
|
|
prettyping
|
2018-08-26 10:59:33 +00:00
|
|
|
|
# Below packages are needed for creating disk images via koji-builder
|
|
|
|
|
livecd-tools
|
|
|
|
|
python-imgcreate-sysdeps
|
|
|
|
|
python2-imgcreate
|
|
|
|
|
python3-imgcreate
|
|
|
|
|
python2-pyparted
|
|
|
|
|
python3-pyparted
|
|
|
|
|
isomd5sum
|
|
|
|
|
python2-isomd5sum
|
|
|
|
|
python3-isomd5sum
|
|
|
|
|
pykickstart
|
|
|
|
|
python2-kickstart
|
|
|
|
|
python3-kickstart
|
|
|
|
|
python2-ordered-set
|
|
|
|
|
python3-ordered-set
|
|
|
|
|
appliance-tools
|
|
|
|
|
pycdio
|
|
|
|
|
qemu-img
|
|
|
|
|
# end of creating disk image packages list
|
2018-06-13 20:03:12 +00:00
|
|
|
|
%end
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
# Disable default repositories (not riscv64 in upstream)
|
2018-08-29 05:21:18 +00:00
|
|
|
|
dnf config-manager --set-disabled rawhide updates updates-testing fedora fedora-modular fedora-cisco-openh264 updates-modular updates-testing-modular
|
2018-06-13 20:03:12 +00:00
|
|
|
|
|
|
|
|
|
# Create Fedora RISC-V repo
|
|
|
|
|
cat << EOF > /etc/yum.repos.d/fedora-riscv.repo
|
|
|
|
|
[fedora-riscv]
|
|
|
|
|
name=Fedora RISC-V
|
2018-08-30 10:28:15 +00:00
|
|
|
|
baseurl=http://fedora-riscv.tranquillity.se/repos-dist/f29/latest/riscv64/
|
2018-06-13 20:03:12 +00:00
|
|
|
|
enabled=1
|
|
|
|
|
gpgcheck=0
|
|
|
|
|
EOF
|
|
|
|
|
|
2018-09-01 08:35:10 +00:00
|
|
|
|
# Create Fedora RISC-V Koji repo
|
|
|
|
|
cat << EOF > /etc/yum.repos.d/fedora-riscv-koji.repo
|
|
|
|
|
[fedora-riscv-koji]
|
|
|
|
|
name=Fedora RISC-V Koji
|
|
|
|
|
baseurl=http://fedora-riscv.tranquillity.se/repos/f29-build/latest/riscv64/
|
|
|
|
|
enabled=0
|
|
|
|
|
gpgcheck=0
|
|
|
|
|
EOF
|
|
|
|
|
|
2018-06-13 20:03:12 +00:00
|
|
|
|
# systemd starts serial consoles on /dev/ttyS0 and /dev/hvc0. The
|
|
|
|
|
# only problem is they are the same serial console. Mask one.
|
|
|
|
|
systemctl mask serial-getty@hvc0.service
|
|
|
|
|
|
|
|
|
|
# setup login message
|
|
|
|
|
cat << EOF | tee /etc/issue /etc/issue.net
|
2018-08-30 10:28:15 +00:00
|
|
|
|
Welcome to the Fedora/RISC-V disk image
|
2018-06-13 20:03:12 +00:00
|
|
|
|
https://fedoraproject.org/wiki/Architectures/RISC-V
|
|
|
|
|
|
|
|
|
|
Build date: $(date --utc)
|
|
|
|
|
|
|
|
|
|
Kernel \r on an \m (\l)
|
|
|
|
|
|
|
|
|
|
The root password is ‘riscv’.
|
|
|
|
|
|
2018-08-30 10:28:15 +00:00
|
|
|
|
To install new packages use 'dnf install ...'
|
|
|
|
|
|
2018-08-30 15:24:06 +00:00
|
|
|
|
To upgrade disk image use 'dnf upgrade --best'
|
2018-06-13 20:03:12 +00:00
|
|
|
|
|
|
|
|
|
If DNS isn’t working, try editing ‘/etc/yum.repos.d/fedora-riscv.repo’.
|
|
|
|
|
|
|
|
|
|
For updates and latest information read:
|
|
|
|
|
https://fedorapeople.org/groups/risc-v/disk-images/readme.txt
|
|
|
|
|
|
2018-07-27 12:29:09 +00:00
|
|
|
|
Fedora/RISC-V
|
|
|
|
|
-------------
|
|
|
|
|
Koji: http://fedora-riscv.tranquillity.se/koji/
|
|
|
|
|
SCM: http://fedora-riscv.tranquillity.se:3000/
|
|
|
|
|
Distribution rep.: http://fedora-riscv.tranquillity.se/repos-dist/
|
|
|
|
|
Koji internal rep.: http://fedora-riscv.tranquillity.se/repos/
|
2018-06-13 20:03:12 +00:00
|
|
|
|
EOF
|
|
|
|
|
%end
|
|
|
|
|
|
|
|
|
|
# EOF
|