Skip to content

Commit

Permalink
riscv64: enable support in Debian Trixie, enable UEFI grub
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Jan 1, 2025
1 parent b1232ed commit 599785e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion config/distributions/trixie/architectures
Original file line number Diff line number Diff line change
@@ -1 +1 @@
arm64,armhf,amd64
arm64,armhf,riscv64,amd64
4 changes: 0 additions & 4 deletions extensions/grub-riscv64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ function extension_prepare_config__prepare_grub-riscv64() {
declare -g EXTRA_BSP_NAME="${EXTRA_BSP_NAME}-grub" # Unique bsp name.
declare -g UEFI_GRUB_TARGET="riscv64-efi" # Default for x86_64

if [[ "${DISTRIBUTION}" != "Ubuntu" && "${BUILDING_IMAGE}" == "yes" ]]; then
exit_with_error "Extension: ${EXTENSION}: ${DISTRIBUTION} is not supported yet"
fi

add_packages_to_image efibootmgr efivar cloud-initramfs-growroot busybox os-prober "grub-efi-${ARCH}-bin" "grub-efi-${ARCH}"

display_alert "Activating" "GRUB with SERIALCON=${SERIALCON}; timeout ${UEFI_GRUB_TIMEOUT}; target=${UEFI_GRUB_TARGET}" ""
Expand Down

0 comments on commit 599785e

Please sign in to comment.