From Fedora Project Wiki
(Outline for setting up a SpacemiT Koji Builder)
 
Line 1: Line 1:
= Configuring Banani Pi / Jupiter as a Koji Builder =
= 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
* 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
* dd it to an SD Card
Line 5: Line 6:
* Recommended: Move `/` to an NVME disk
* Recommended: Move `/` to an NVME disk
* Boot
* Boot
* Replace /etc/yum.repos.d/.... with  
* Replace `/etc/yum.repos.d/....` with
<pre>
[koji]
name=koji
enabled=1
gpgcheck=0
baseurl=https://linux.montleon.net/fedora/41/riscv64/koji/riscv64/
priority=98
 
[koji-source]
name=koji-source
enabled=0
gpgcheck=0
baseurl=https://linux.montleon.net/fedora/41/riscv64/koji/source/tree
</pre>
* `dnf -y update`
* `dnf -y update`
* Optional: Install spacemit kernel repo. Rust projects at a minimum need a 6.6.x kernel with fixes
* Optional: Install spacemit kernel repo. Rust projects at a minimum need a 6.6 kernel with fixes
- repo file
** repo file
- edit set selinux permissive
** extlinux update script
- touch /.autorelabel
** edit set selinux permissive
- `dnf -y install ... ... ... ...`
** touch /.autorelabel
- `dnf -y remove ... ... ... ...`
** `dnf -y install ... ... ... ...`
- reboot, let relabel complete
** `dnf -y remove ... ... ... ...`
- set selinux enforing
** reboot, let relabel complete
* Install Koji Packages `dnf -y install ... ... ...` (Nothing past 1.33 works right or me with the current server)
** set selinux enforing
* Configure koji
 
  * ...
== Install and Configure Koji ==
  * ...
* `dnf -y install ... ... ...` (Nothing past 1.33 works right or me with the current server)
** ...
** ...

Revision as of 00:02, 26 September 2024

Configuring Banani Pi / Jupiter as a Koji Builder

Prepare Fedora

[koji]
name=koji
enabled=1
gpgcheck=0
baseurl=https://linux.montleon.net/fedora/41/riscv64/koji/riscv64/
priority=98

[koji-source]
name=koji-source
enabled=0
gpgcheck=0
baseurl=https://linux.montleon.net/fedora/41/riscv64/koji/source/tree
  • dnf -y update
  • Optional: Install spacemit kernel repo. Rust projects at a minimum need a 6.6 kernel with fixes
    • repo file
    • 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)
    • ...
    • ...