Add riscv64 support

Add a riscv64 stanza for the bootloader so we can build images for
riscv64 and conditionalize kexec-tools because it's not yet built
for riscv64.
This commit is contained in:
Dusty Mabe 2025-04-23 08:54:12 -04:00
parent 089ae4f7e9
commit 40e33e055a
No known key found for this signature in database
GPG key ID: 3302DBD73952E671
2 changed files with 25 additions and 10 deletions

View file

@ -8,6 +8,14 @@ packages-aarch64:
- grub2-efi-aa64 efibootmgr shim
packages-ppc64le:
- grub2 ostree-grub2
packages-riscv64:
- grub2-efi-riscv64 efibootmgr
# Don't specify just `shim` for now because riscv isn't built in
# main koji instance yet and thus isn't signed. Here we specify
# the path to the provided file so when we do switch to the signed
# `shim` package it will transparently happen and we can clean up
# this packagelist entry later.
- /boot/efi/EFI/fedora/shimriscv64.efi
packages-s390x:
# For zipl
- s390utils-core

View file

@ -6,19 +6,26 @@ packages:
# Improved MOTD experience
- console-login-helper-messages-issuegen
- console-login-helper-messages-profile
# kdump support
# https://github.com/coreos/fedora-coreos-tracker/issues/622
# The makedumpfile and kdump-utils RPMs were broken out in
# Fedora and EL10+. To be able to use the same package list
# Across EL9 + Fedora + EL10 let's just name paths for now.
# We can go back to just specifying the RPM names when we
# no longer support EL9.
- kexec-tools
- /usr/share/makedumpfile # makedumpfile RPM
- /usr/bin/kdumpctl # kdump-utils RPM
# Container tooling
- toolbox
# nvme-cli for managing nvme disks
- nvme-cli
# Used by admins interactively
- lsof
conditional-include:
- if: basearch != "riscv64"
# TODO: kexec-tools isn't built for riscv yet so conditionalize these here
# https://github.com/coreos/fedora-coreos-tracker/issues/1931
include:
packages:
# kdump support
# https://github.com/coreos/fedora-coreos-tracker/issues/622
# The makedumpfile and kdump-utils RPMs were broken out in
# Fedora and EL10+. To be able to use the same package list
# Across EL9 + Fedora + EL10 let's just name paths for now.
# We can go back to just specifying the RPM names when we
# no longer support EL9.
- kexec-tools
- /usr/share/makedumpfile # makedumpfile RPM
- /usr/bin/kdumpctl # kdump-utils RPM