From Fedora Project Wiki
< Architectures | RISC-V
Line 8: | Line 8: | ||
* Replace `/etc/yum.repos.d/....` with | * Replace `/etc/yum.repos.d/....` with | ||
<pre> | <pre> | ||
[koji] | [fedora-riscv-koji] | ||
name=koji | name=Fedora RISC-V Koji | ||
baseurl=http://fedora.riscv.rocks/repos/f41-build/latest/riscv64/ | |||
exclude=koji,koji-builder,koji-builder-plugins,python3-koji | |||
enabled=1 | enabled=1 | ||
gpgcheck=0 | gpgcheck=0 | ||
[ | [fedora-riscv-openkoji] | ||
name=koji- | name=Fedora RISC-V Koji | ||
baseurl=http://openkoji.iscas.ac.cn/kojifiles/repos/f41-build/latest/riscv64/ | |||
exclude=koji,koji-builder,koji-builder-plugins,python3-koji | |||
enabled=0 | enabled=0 | ||
gpgcheck=0 | gpgcheck=0 | ||
</pre> | </pre> | ||
* `dnf -y update` | * `dnf -y update` | ||
* Optional: Install spacemit kernel repo. Rust projects at a minimum need a 6.6 kernel with fixes | * Optional: Install spacemit kernel repo. Rust projects at a minimum need a 6.6 kernel with fixes | ||
** repo | ** Add `/etc/yum.repos.d/spacemit.repo` | ||
<pre> | |||
[spacemit] | |||
name=spacemit | |||
enabled=1 | |||
gpgcheck=0 | |||
baseurl=https://people.redhat.com/jmontleo/fedora/linux/releases/41/spacemit/riscv64/ | |||
priority=98 | |||
[spacemit-source] | |||
name=spacemit-source | |||
enabled=0 | |||
gpgcheck=0 | |||
baseurl=https://people.redhat.com/jmontleo/fedora/linux/releases/41/spacemit/source/tree | |||
</pre> | |||
** extlinux update script | ** extlinux update script | ||
** edit set selinux permissive | ** edit set selinux permissive |
Revision as of 00:18, 26 September 2024
Configuring Banani Pi / Jupiter as a Koji Builder
Prepare Fedora
- Download https://openkoji.iscas.ac.cn/pub/dist-repos/dl/Milk-V/Jupiter/images/latest/k1-fedora-minimal.img.gz
- dd it to an SD Card
- Recommended: Resize
/boot
- Recommended: Move
/
to an NVME disk - Boot
- Replace
/etc/yum.repos.d/....
with
[fedora-riscv-koji] name=Fedora RISC-V Koji baseurl=http://fedora.riscv.rocks/repos/f41-build/latest/riscv64/ exclude=koji,koji-builder,koji-builder-plugins,python3-koji enabled=1 gpgcheck=0 [fedora-riscv-openkoji] name=Fedora RISC-V Koji baseurl=http://openkoji.iscas.ac.cn/kojifiles/repos/f41-build/latest/riscv64/ exclude=koji,koji-builder,koji-builder-plugins,python3-koji enabled=0 gpgcheck=0
dnf -y update
- Optional: Install spacemit kernel repo. Rust projects at a minimum need a 6.6 kernel with fixes
- Add
/etc/yum.repos.d/spacemit.repo
- Add
[spacemit] name=spacemit enabled=1 gpgcheck=0 baseurl=https://people.redhat.com/jmontleo/fedora/linux/releases/41/spacemit/riscv64/ priority=98 [spacemit-source] name=spacemit-source enabled=0 gpgcheck=0 baseurl=https://people.redhat.com/jmontleo/fedora/linux/releases/41/spacemit/source/tree
- extlinux update script
- edit set selinux permissive
- touch /.autorelabel
dnf -y install ... ... ... ...
dnf -y remove ... ... ... ...
- reboot, let relabel complete
- set selinux enforing
Install and Configure Koji
dnf -y install ... ... ...
(Nothing past 1.33 works right or me with the current server)- ...
- ...