From f8e79444b338414595a7a612d871792ebfa70b9e Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 19 Sep 2021 16:43:41 +0200 Subject: riscv64: EFI riggings Minor changes necessary to support EFI on RISC-V. --- setup-disk.in | 1 + update-kernel.in | 1 + 2 files changed, 2 insertions(+) diff --git a/setup-disk.in b/setup-disk.in index 34c359d..67e89f9 100644 --- a/setup-disk.in +++ b/setup-disk.in @@ -288,6 +288,7 @@ setup_grub() { x86) target=i386-efi ; fwa=ia32 ;; arm*) target=arm-efi ; fwa=arm ;; aarch64) target=arm64-efi ; fwa=aa64 ;; + riscv64) target=riscv64-efi ; fwa=riscv64 ;; esac # currently disabling nvram so grub doesnt call efibootmgr # installing to alpine directory so other distros dont overwrite it diff --git a/update-kernel.in b/update-kernel.in index b0ee125..dce5006 100644 --- a/update-kernel.in +++ b/update-kernel.in @@ -244,6 +244,7 @@ _apk add --initdb --update-cache if [ "$BUILDDIR" ]; then case "$ARCH" in arm*|aarch64*) _install="zinstall dtbs_install" ;; + riscv64) _install="zinstall dtbs_install" ;; *) _install="install" ;; esac -- cgit v1.2.3