Bootstrapping Fedora mips64el
Current status: Stage 5
Issues: Architectures/MIPS/2015Bootstrap/mips64el/issues
Stages 1 and 2
Stage 1 - Cross-compile kernel, glibc, gcc, make and other tools to be able to either boot a system or create a working chroot
Stage 2 - Build a working RPM from upstream sources
Stages 1 and 2 have been skipped. Instead of cross-compiling tools and building basic root filesystem, the existing Debian environment which has a working RPM and most of the libraries required for bootstrapping Fedora has been used.
Stage 3
Build packages using RPM until mock can be used. Make the system bootable on real hardware and in QEMU.
Using RPM and libraries from Debian Sid available from http://mipsdebian.imgtec.com/ a small set of RPMs forming a very limited Fedora root has been built. Not all the dependencies are satisfied and a few sonames do not match between Debian and Fedora, but installing the stage3 set with rpm --nodeps
forms a working Fedora chroot that can be used for building.
- Repo BIN + DEBUG: http://mipsfedora.imgtec.com/development/22/mips64el/stage3/bin/
- Repo SOURCE: http://mipsfedora.imgtec.com/development/22/mips64el/stage3/src/
Stage 3.1
Since Stage 3 requires commenting out all BuildRequires and supplying all the dependencies manually, it seems to be more practical to use a "true" Fedora chroot as soon as possible. The minimal root built in Stage 3 has been installed and used for further building. Since this is somewhere between Stages 3 and 4, it has been named Stage 3.1.
- Repo BIN: http://mipsfedora.imgtec.com/development/22/mips64el/stage3.1/bin/
- Repo DEBUG: http://mipsfedora.imgtec.com/development/22/mips64el/stage3.1/debug/
- Repo SOURCE: http://mipsfedora.imgtec.com/development/22/mips64el/stage3.1/src/
Stage 4
Build everything using mock until a reasonable set of packages is built and Koji can take over.
Fedora 22
- Repo BIN: http://mipsfedora.imgtec.com/development/22/mips64el/stage4/bin/
- Repo DEBUG: http://mipsfedora.imgtec.com/development/22/mips64el/stage4/debug/
- Repo SOURCE: http://mipsfedora.imgtec.com/development/22/mips64el/stage4/src/
Fedora 23
- Repo BIN: http://mipsfedora.imgtec.com/development/23/mips64el/stage4/bin/
- Repo DEBUG: http://mipsfedora.imgtec.com/development/23/mips64el/stage4/debug/
- Repo SOURCE: http://mipsfedora.imgtec.com/development/23/mips64el/stage4/src/
Stage 5
Rebuild everything using koji.
Fedora 24
- Repo BIN: https://mipsdistros.imgtec.com/fedora/development/24/mips64el/os/
- Repo DEBUG: https://mipsdistros.imgtec.com/fedora/development/24/mips64el/debug/
- Repo SOURCE: https://mipsdistros.imgtec.com/fedora/development/24/source/SRPMS/
Stage 6
Have koji-shadow set up and track primary.