fedora-riscv-kickstarts/fedora-riscv64-developer-rawhide.ks
David Abdurachmanov c597a0c670
Add nvme-cli
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-08-26 14:53:18 +03:00

151 lines
2.8 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Kickstart file for Fedora RISC-V (riscv64) Developer Rawhide
#repo --name="koji-override-0" --baseurl=http://fedora-riscv.tranquillity.se/repos-dist/rawhide/latest/riscv64/
install
text
#reboot
lang en_US.UTF-8
keyboard us
# short hostname still allows DHCP to assign domain name
network --bootproto dhcp --device=link --hostname=fedora-riscv
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
part / --fstype="ext4" --size=6144
# Halt the system once configuration has finished.
poweroff
%packages
@core
@buildsys-build
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
ninja-build
cmake
cmake-fedora
extra-cmake-modules
elfutils
gdisk
util-linux
gparted
parted
fpaste
vim-common
hexedit
koji-builder
mc
evemu
lftp
mtr
wget
aria2
incron
emacs
vim
neofetch
bash-completion
zsh
nvme-cli
# 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
%end
%post
# Disable default repositories (not riscv64 in upstream)
dnf config-manager --set-disabled rawhide updates updates-testing fedora fedora-modular fedora-cisco-openh264
# Create Fedora RISC-V repo
cat << EOF > /etc/yum.repos.d/fedora-riscv.repo
[fedora-riscv]
name=Fedora RISC-V
baseurl=http://fedora-riscv.tranquillity.se/repos-dist/rawhide/latest/riscv64/
enabled=1
gpgcheck=0
EOF
# 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
Welcome to the Fedora/RISC-V stage5 disk image
https://fedoraproject.org/wiki/Architectures/RISC-V
Build date: $(date --utc)
Kernel \r on an \m (\l)
The root password is riscv.
To install new packages use dnf install ...
If DNS isnt 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
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/
EOF
%end
# EOF