2018-06-13 20:03:12 +00:00
|
|
|
|
# Kickstart file for Fedora RISC-V (riscv64) Developer Rawhide
|
|
|
|
|
|
2019-09-26 22:42:26 +00:00
|
|
|
|
#repo --name="koji-override-0" --baseurl=http://fedora.riscv.rocks/repos-dist/rawhide/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
|
2019-10-30 16:42:05 +00:00
|
|
|
|
rootpw --plaintext fedora_rocks!
|
2018-06-13 20:03:12 +00:00
|
|
|
|
firewall --enabled --ssh
|
|
|
|
|
timezone --utc America/New_York
|
2020-12-07 06:50:43 +00:00
|
|
|
|
selinux --disabled
|
2019-12-23 16:19:14 +00:00
|
|
|
|
services --enabled=sshd,NetworkManager,chronyd,haveged --disabled=lm_sensors,libvirtd
|
2018-06-13 20:03:12 +00:00
|
|
|
|
|
2019-03-26 15:39:21 +00:00
|
|
|
|
bootloader --location=none --extlinux
|
2018-06-13 20:03:12 +00:00
|
|
|
|
|
|
|
|
|
zerombr
|
|
|
|
|
clearpart --all --initlabel --disklabel=gpt
|
2019-03-26 15:39:21 +00:00
|
|
|
|
part /boot --size=512 --fstype ext4 --asprimary
|
2019-11-08 15:04:29 +00:00
|
|
|
|
part / --fstype="ext4" --size=8680
|
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
|
2019-01-25 10:06:29 +00:00
|
|
|
|
@rpm-development-tools
|
|
|
|
|
@c-development
|
|
|
|
|
@development-tools
|
2018-06-13 20:03:12 +00:00
|
|
|
|
|
2018-11-12 07:50:22 +00:00
|
|
|
|
kernel
|
|
|
|
|
kernel-core
|
|
|
|
|
kernel-devel
|
|
|
|
|
kernel-modules
|
|
|
|
|
kernel-modules-extra
|
|
|
|
|
linux-firmware
|
2019-03-20 22:18:27 +00:00
|
|
|
|
opensbi-unstable
|
2019-03-26 15:39:21 +00:00
|
|
|
|
extlinux-bootloader
|
2019-03-26 23:42:19 +00:00
|
|
|
|
uboot-tools
|
|
|
|
|
uboot-images-riscv64
|
2019-11-23 10:44:08 +00:00
|
|
|
|
# Remove this in %post
|
|
|
|
|
dracut-config-generic
|
|
|
|
|
-dracut-config-rescue
|
2018-11-12 07:50:22 +00:00
|
|
|
|
|
2018-06-13 20:03:12 +00:00
|
|
|
|
openssh
|
|
|
|
|
openssh-server
|
|
|
|
|
glibc-langpack-en
|
2019-03-15 08:26:04 +00:00
|
|
|
|
glibc-static
|
2018-06-13 20:03:12 +00:00
|
|
|
|
lsof
|
|
|
|
|
nano
|
|
|
|
|
openrdate
|
|
|
|
|
chrony
|
|
|
|
|
systemd-udev
|
|
|
|
|
vim-minimal
|
|
|
|
|
neovim
|
|
|
|
|
screen
|
|
|
|
|
hostname
|
|
|
|
|
bind-utils
|
|
|
|
|
htop
|
|
|
|
|
tmux
|
|
|
|
|
strace
|
|
|
|
|
pciutils
|
|
|
|
|
nfs-utils
|
|
|
|
|
ethtool
|
|
|
|
|
rsync
|
|
|
|
|
hdparm
|
|
|
|
|
git
|
2020-12-08 05:16:09 +00:00
|
|
|
|
tig
|
|
|
|
|
mercurial
|
|
|
|
|
breezy
|
2018-06-13 20:03:12 +00:00
|
|
|
|
moreutils
|
|
|
|
|
rpmdevtools
|
|
|
|
|
fedpkg
|
|
|
|
|
mailx
|
|
|
|
|
mutt
|
|
|
|
|
patchutils
|
2018-07-27 12:29:09 +00:00
|
|
|
|
ninja-build
|
|
|
|
|
cmake
|
|
|
|
|
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
|
2020-12-08 05:16:09 +00:00
|
|
|
|
traceroute
|
2018-08-26 05:16:05 +00:00
|
|
|
|
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
|
2020-12-08 05:16:09 +00:00
|
|
|
|
tcsh
|
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-10-13 11:47:19 +00:00
|
|
|
|
qemu-guest-agent
|
2018-10-13 13:50:37 +00:00
|
|
|
|
iptables-services
|
2018-12-05 18:24:06 +00:00
|
|
|
|
autoconf
|
2019-01-22 09:14:04 +00:00
|
|
|
|
autoconf-archive
|
2018-12-05 18:24:06 +00:00
|
|
|
|
automake
|
|
|
|
|
gettext
|
|
|
|
|
nnn
|
|
|
|
|
gdb
|
|
|
|
|
libtool
|
2018-12-05 21:55:14 +00:00
|
|
|
|
texinfo
|
2019-01-19 14:57:27 +00:00
|
|
|
|
policycoreutils
|
|
|
|
|
policycoreutils-python-utils
|
|
|
|
|
setools-console
|
|
|
|
|
coreutils
|
|
|
|
|
setroubleshoot-server
|
|
|
|
|
audit
|
|
|
|
|
selinux-policy
|
|
|
|
|
selinux-policy-targeted
|
2019-01-27 20:11:39 +00:00
|
|
|
|
execstack
|
2019-02-20 15:05:36 +00:00
|
|
|
|
stress-ng
|
2022-07-05 06:43:24 +00:00
|
|
|
|
realtime-tests
|
2019-03-22 17:28:07 +00:00
|
|
|
|
python3-pyelftools
|
2019-06-25 05:38:28 +00:00
|
|
|
|
inxi
|
2018-08-26 10:59:33 +00:00
|
|
|
|
# Below packages are needed for creating disk images via koji-builder
|
|
|
|
|
livecd-tools
|
|
|
|
|
python-imgcreate-sysdeps
|
|
|
|
|
python3-imgcreate
|
|
|
|
|
python3-pyparted
|
|
|
|
|
isomd5sum
|
|
|
|
|
python3-isomd5sum
|
|
|
|
|
pykickstart
|
|
|
|
|
python3-kickstart
|
|
|
|
|
python3-ordered-set
|
|
|
|
|
appliance-tools
|
|
|
|
|
pycdio
|
|
|
|
|
qemu-img
|
2019-11-15 05:39:17 +00:00
|
|
|
|
nbdkit
|
2020-03-23 12:16:10 +00:00
|
|
|
|
nbd
|
2019-01-25 13:25:05 +00:00
|
|
|
|
# end of creating disk image packages list
|
2019-01-21 17:07:48 +00:00
|
|
|
|
dosfstools
|
|
|
|
|
btrfs-progs
|
|
|
|
|
e2fsprogs
|
|
|
|
|
f2fs-tools
|
|
|
|
|
jfsutils
|
|
|
|
|
mtd-utils
|
|
|
|
|
ntfsprogs
|
|
|
|
|
udftools
|
|
|
|
|
xfsprogs
|
|
|
|
|
kpartx
|
2022-07-25 20:22:41 +00:00
|
|
|
|
guestfs-tools
|
2019-01-24 13:08:13 +00:00
|
|
|
|
rpkg
|
2019-03-09 09:16:00 +00:00
|
|
|
|
binwalk
|
2020-12-29 06:37:04 +00:00
|
|
|
|
bloaty
|
2019-04-13 14:23:01 +00:00
|
|
|
|
bpftool
|
|
|
|
|
kernel-tools
|
|
|
|
|
perf
|
|
|
|
|
python3-perf
|
2020-03-23 12:16:10 +00:00
|
|
|
|
libgpiod
|
|
|
|
|
libgpiod-c++
|
|
|
|
|
libgpiod-devel
|
|
|
|
|
libgpiod-utils
|
|
|
|
|
python3-libgpiod
|
|
|
|
|
i2c-tools
|
|
|
|
|
i2c-tools-eepromer
|
|
|
|
|
i2c-tools-perl
|
|
|
|
|
libi2c
|
|
|
|
|
libi2c-devel
|
|
|
|
|
python3-i2c-tools
|
|
|
|
|
spi-tools
|
2019-01-25 13:25:05 +00:00
|
|
|
|
# Add gcc packages
|
|
|
|
|
cpp
|
|
|
|
|
gcc
|
|
|
|
|
gcc-c++
|
|
|
|
|
gcc-gdb-plugin
|
|
|
|
|
gcc-gfortran
|
|
|
|
|
gcc-go
|
|
|
|
|
gcc-plugin-devel
|
|
|
|
|
libatomic
|
|
|
|
|
libatomic-static
|
|
|
|
|
libgcc
|
|
|
|
|
libgfortran
|
|
|
|
|
libgfortran-static
|
|
|
|
|
libgo
|
|
|
|
|
libgo-devel
|
|
|
|
|
libgo-static
|
|
|
|
|
libgomp
|
|
|
|
|
libstdc++
|
|
|
|
|
libstdc++-devel
|
|
|
|
|
libstdc++-static
|
2019-01-26 20:44:13 +00:00
|
|
|
|
gcc-gdc
|
|
|
|
|
libgphobos
|
|
|
|
|
libgphobos-static
|
2019-01-28 10:27:42 +00:00
|
|
|
|
pax-utils
|
2019-02-07 09:52:04 +00:00
|
|
|
|
gcc-gnat
|
|
|
|
|
libgnat
|
|
|
|
|
libgnat-devel
|
|
|
|
|
libgnat-static
|
2019-08-16 02:59:37 +00:00
|
|
|
|
usbutils
|
2019-08-22 23:19:13 +00:00
|
|
|
|
haveged
|
2019-01-25 13:25:05 +00:00
|
|
|
|
# end of gcc packages
|
2018-09-21 05:37:15 +00:00
|
|
|
|
# Add dejavu fonts
|
2020-11-30 19:02:18 +00:00
|
|
|
|
dejavu-fonts-all
|
2018-09-21 05:37:15 +00:00
|
|
|
|
dejavu-lgc-sans-fonts
|
|
|
|
|
dejavu-lgc-sans-mono-fonts
|
|
|
|
|
dejavu-lgc-serif-fonts
|
|
|
|
|
dejavu-sans-fonts
|
|
|
|
|
dejavu-sans-mono-fonts
|
|
|
|
|
dejavu-serif-fonts
|
|
|
|
|
# end of dejavu fonts
|
2022-07-25 20:23:55 +00:00
|
|
|
|
watchdog
|
2019-01-20 15:15:10 +00:00
|
|
|
|
|
|
|
|
|
-grubby
|
|
|
|
|
grubby-deprecated
|
2019-10-30 16:42:05 +00:00
|
|
|
|
|
2019-11-23 10:44:08 +00:00
|
|
|
|
# No longer in @core since 2018-10, but needed for livesys script
|
2019-10-30 16:42:05 +00:00
|
|
|
|
initscripts
|
|
|
|
|
chkconfig
|
2019-11-08 07:18:56 +00:00
|
|
|
|
|
2019-11-23 10:44:08 +00:00
|
|
|
|
# Lets resize / on first boot
|
|
|
|
|
#dracut-modules-growroot
|
|
|
|
|
|
2019-11-08 07:18:56 +00:00
|
|
|
|
dnscrypt-proxy
|
|
|
|
|
meson
|
2019-11-08 13:27:11 +00:00
|
|
|
|
cloud-utils-growpart
|
2019-11-08 14:21:31 +00:00
|
|
|
|
iperf3
|
|
|
|
|
sysstat
|
|
|
|
|
fio
|
|
|
|
|
memtester
|
2019-11-13 11:44:21 +00:00
|
|
|
|
fuse-sshfs
|
2019-11-16 05:38:36 +00:00
|
|
|
|
zstd
|
2019-11-16 05:40:12 +00:00
|
|
|
|
xz
|
2019-11-16 09:40:52 +00:00
|
|
|
|
NetworkManager-tui
|
|
|
|
|
cheat
|
2019-12-23 16:22:17 +00:00
|
|
|
|
ddrescue
|
|
|
|
|
glances
|
|
|
|
|
python3-psutil
|
2019-11-08 15:04:29 +00:00
|
|
|
|
|
|
|
|
|
# Add dependencies (BR) for kernel, gcc, gdb, binutils, rpm, util-linux, glibc,
|
|
|
|
|
# bash and coreutils
|
|
|
|
|
audit-libs-devel
|
|
|
|
|
bzip2-devel
|
|
|
|
|
dblatex
|
|
|
|
|
dbus-devel
|
|
|
|
|
dejagnu
|
|
|
|
|
docbook5-style-xsl
|
|
|
|
|
dwarves
|
|
|
|
|
expat-devel
|
|
|
|
|
fakechroot
|
|
|
|
|
file-devel
|
|
|
|
|
gd-devel
|
|
|
|
|
gettext-devel
|
|
|
|
|
glibc-all-langpacks
|
|
|
|
|
ima-evm-utils-devel
|
|
|
|
|
isl-devel
|
|
|
|
|
libacl-devel
|
|
|
|
|
libarchive-devel
|
|
|
|
|
libattr-devel
|
|
|
|
|
libbabeltrace-devel
|
|
|
|
|
libcap-devel
|
|
|
|
|
libcap-ng-devel
|
|
|
|
|
libdb-devel
|
|
|
|
|
libpng-devel
|
|
|
|
|
libselinux-devel
|
|
|
|
|
libuser-devel
|
|
|
|
|
libutempter-devel
|
|
|
|
|
libzstd-devel
|
|
|
|
|
lua-devel
|
|
|
|
|
ncurses-devel
|
|
|
|
|
pam-devel
|
|
|
|
|
pcre2-devel
|
|
|
|
|
perl
|
|
|
|
|
popt-devel
|
|
|
|
|
python3-devel
|
|
|
|
|
python3-langtable
|
|
|
|
|
python3-sphinx
|
|
|
|
|
readline-devel
|
|
|
|
|
rpm-devel
|
|
|
|
|
sharutils
|
|
|
|
|
source-highlight-devel
|
|
|
|
|
systemd-devel
|
|
|
|
|
texinfo-tex
|
|
|
|
|
texlive-collection-latex
|
|
|
|
|
texlive-collection-latexrecommended
|
|
|
|
|
zlib-static
|
|
|
|
|
# end of dependencies (BR)
|
2020-12-05 10:04:08 +00:00
|
|
|
|
|
|
|
|
|
dos2unix
|
|
|
|
|
fwts
|
|
|
|
|
acpica-tools
|
|
|
|
|
glib
|
|
|
|
|
glib2
|
|
|
|
|
dkms
|
|
|
|
|
expect
|
|
|
|
|
openssl
|
|
|
|
|
gnutls-utils
|
|
|
|
|
iw
|
|
|
|
|
info
|
|
|
|
|
wireless-tools
|
|
|
|
|
wireless-regdb
|
|
|
|
|
jq
|
|
|
|
|
sysfsutils
|
|
|
|
|
golang
|
|
|
|
|
golang-bin
|
2020-12-15 12:40:04 +00:00
|
|
|
|
golang-src
|
|
|
|
|
bmap-tools
|
2021-01-06 11:37:25 +00:00
|
|
|
|
flashrom
|
2020-12-05 10:04:08 +00:00
|
|
|
|
|
|
|
|
|
glib-devel
|
|
|
|
|
glib2-devel
|
|
|
|
|
json-c-devel
|
|
|
|
|
libbsd-devel
|
|
|
|
|
zlib-devel
|
|
|
|
|
xz-devel
|
|
|
|
|
brotli-devel
|
|
|
|
|
libuv-devel
|
|
|
|
|
libnghttp2-devel
|
|
|
|
|
libicu-devel
|
|
|
|
|
libX11-devel
|
|
|
|
|
libXtst-devel
|
|
|
|
|
libXt-devel
|
|
|
|
|
libXrender-devel
|
|
|
|
|
libXrandr-devel
|
|
|
|
|
libXi-devel
|
|
|
|
|
libXext-devel
|
|
|
|
|
cups-devel
|
|
|
|
|
fontconfig-devel
|
|
|
|
|
alsa-lib-devel
|
|
|
|
|
freetype-devel
|
|
|
|
|
libdwarf-devel
|
|
|
|
|
gnulib-devel
|
2021-11-07 11:10:13 +00:00
|
|
|
|
|
|
|
|
|
koji-builder-plugin-rpmautospec
|
|
|
|
|
python3-rpmautospec
|
|
|
|
|
rpmautospec
|
|
|
|
|
rpmautospec-rpm-macros
|
|
|
|
|
koji-builder-plugins
|
|
|
|
|
koji-containerbuild
|
|
|
|
|
koji-containerbuild-builder
|
|
|
|
|
koji-containerbuild-hub
|
|
|
|
|
python3-koji-containerbuild-cli
|
2018-06-13 20:03:12 +00:00
|
|
|
|
%end
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
# Disable default repositories (not riscv64 in upstream)
|
2019-01-21 16:35:58 +00:00
|
|
|
|
dnf config-manager --set-disabled rawhide updates updates-testing fedora fedora-modular fedora-cisco-openh264 updates-modular updates-testing-modular rawhide-modular
|
2018-06-13 20:03:12 +00:00
|
|
|
|
|
2019-11-23 10:44:08 +00:00
|
|
|
|
dnf -y remove dracut-config-generic
|
|
|
|
|
|
2019-04-05 15:28:16 +00:00
|
|
|
|
# systemd on no-SMP boots (i.e. single core) sometimes timeout waiting for storage
|
|
|
|
|
# devices. After entering emergency prompt all disk are mounted.
|
|
|
|
|
# For more information see:
|
|
|
|
|
# https://www.suse.com/support/kb/doc/?id=7018491
|
|
|
|
|
# https://www.freedesktop.org/software/systemd/man/systemd.mount.html
|
|
|
|
|
# https://github.com/systemd/systemd/issues/3446
|
|
|
|
|
# We modify /etc/fstab to give more time for device detection (the problematic part)
|
|
|
|
|
# and mounting processes. This should help on systems where boot takes longer.
|
|
|
|
|
sed -i 's|noatime|noatime,x-systemd.device-timeout=300s,x-systemd.mount-timeout=300s|g' /etc/fstab
|
|
|
|
|
|
2019-10-23 11:32:06 +00:00
|
|
|
|
# Fedora 31
|
|
|
|
|
# https://fedoraproject.org/wiki/Changes/DisableRootPasswordLoginInSshd
|
2019-10-30 16:42:05 +00:00
|
|
|
|
cat > /etc/rc.d/init.d/livesys << EOF
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#
|
|
|
|
|
# live: Init script for live image
|
|
|
|
|
#
|
|
|
|
|
# chkconfig: 345 00 99
|
|
|
|
|
# description: Init script for live image.
|
|
|
|
|
### BEGIN INIT INFO
|
|
|
|
|
# X-Start-Before: display-manager chronyd
|
|
|
|
|
### END INIT INFO
|
|
|
|
|
|
|
|
|
|
. /etc/rc.d/init.d/functions
|
|
|
|
|
|
2019-10-23 11:32:06 +00:00
|
|
|
|
useradd -c "Fedora RISCV User" riscv
|
2019-10-30 16:42:05 +00:00
|
|
|
|
echo fedora_rocks! | passwd --stdin riscv > /dev/null
|
2019-10-23 11:32:06 +00:00
|
|
|
|
usermod -aG wheel riscv > /dev/null
|
|
|
|
|
|
2019-10-30 16:42:05 +00:00
|
|
|
|
exit 0
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
chmod 755 /etc/rc.d/init.d/livesys
|
|
|
|
|
/sbin/restorecon /etc/rc.d/init.d/livesys
|
|
|
|
|
/sbin/chkconfig --add livesys
|
|
|
|
|
|
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
|
2019-09-26 22:42:26 +00:00
|
|
|
|
baseurl=http://fedora.riscv.rocks/repos-dist/rawhide/latest/riscv64/
|
2019-01-08 18:00:11 +00:00
|
|
|
|
#baseurl=https://dl.fedoraproject.org/pub/alt/risc-v/repo/fedora/rawhide/latest/riscv64/
|
|
|
|
|
#baseurl=https://mirror.math.princeton.edu/pub/alt/risc-v/repo/fedora/rawhide/latest/riscv64/
|
2018-06-13 20:03:12 +00:00
|
|
|
|
enabled=1
|
|
|
|
|
gpgcheck=0
|
2018-10-03 10:08:56 +00:00
|
|
|
|
|
|
|
|
|
[fedora-riscv-debuginfo]
|
|
|
|
|
name=Fedora RISC-V - Debug
|
2019-09-26 22:42:26 +00:00
|
|
|
|
baseurl=http://fedora.riscv.rocks/repos-dist/rawhide/latest/riscv64/debug/
|
2019-01-08 18:00:11 +00:00
|
|
|
|
#baseurl=https://dl.fedoraproject.org/pub/alt/risc-v/repo/fedora/rawhide/latest/riscv64/debug/
|
|
|
|
|
#baseurl=https://mirror.math.princeton.edu/pub/alt/risc-v/repo/fedora/rawhide/latest/riscv64/debug/
|
2018-10-03 10:08:56 +00:00
|
|
|
|
enabled=0
|
|
|
|
|
gpgcheck=0
|
|
|
|
|
|
|
|
|
|
[fedora-riscv-source]
|
|
|
|
|
name=Fedora RISC-V - Source
|
2019-09-26 22:42:26 +00:00
|
|
|
|
baseurl=http://fedora.riscv.rocks/repos-dist/rawhide/latest/src/
|
2019-01-08 18:00:11 +00:00
|
|
|
|
#baseurl=https://dl.fedoraproject.org/pub/alt/risc-v/repo/fedora/rawhide/latest/src/
|
|
|
|
|
#baseurl=https://mirror.math.princeton.edu/pub/alt/risc-v/repo/fedora/rawhide/latest/src/
|
2018-10-03 10:08:56 +00:00
|
|
|
|
enabled=0
|
|
|
|
|
gpgcheck=0
|
2018-06-13 20:03:12 +00:00
|
|
|
|
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
|
2019-09-26 22:42:26 +00:00
|
|
|
|
baseurl=http://fedora.riscv.rocks/repos/rawhide/latest/riscv64/
|
2018-09-01 08:35:10 +00:00
|
|
|
|
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)
|
|
|
|
|
|
2019-10-30 16:42:05 +00:00
|
|
|
|
The root password is 'fedora_rocks!'.
|
2019-09-30 09:24:59 +00:00
|
|
|
|
root password logins are disabled in SSH starting Fedora 31.
|
2019-10-30 16:42:05 +00:00
|
|
|
|
User 'riscv' with password 'fedora_rocks!' in 'wheel' group is provided.
|
2018-06-13 20:03:12 +00:00
|
|
|
|
|
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:
|
2019-11-23 10:44:08 +00:00
|
|
|
|
https://fedoraproject.org/wiki/Architectures/RISC-V
|
2018-06-13 20:03:12 +00:00
|
|
|
|
|
2018-07-27 12:29:09 +00:00
|
|
|
|
Fedora/RISC-V
|
|
|
|
|
-------------
|
2019-09-26 22:42:26 +00:00
|
|
|
|
Koji: http://fedora.riscv.rocks/koji/
|
|
|
|
|
SCM: http://fedora.riscv.rocks:3000/
|
|
|
|
|
Distribution rep.: http://fedora.riscv.rocks/repos-dist/
|
|
|
|
|
Koji internal rep.: http://fedora.riscv.rocks/repos/
|
2018-06-13 20:03:12 +00:00
|
|
|
|
EOF
|
2019-11-23 10:44:08 +00:00
|
|
|
|
|
|
|
|
|
# Remove machine-id on pre generated images
|
|
|
|
|
rm -f /etc/machine-id
|
|
|
|
|
touch /etc/machine-id
|
|
|
|
|
|
|
|
|
|
# remove random seed, the newly installed instance should make it's own
|
|
|
|
|
rm -f /var/lib/systemd/random-seed
|
|
|
|
|
|
2018-06-13 20:03:12 +00:00
|
|
|
|
%end
|
|
|
|
|
|
|
|
|
|
# EOF
|