Source: efivar Version: 37-2 UEFI RISC-V support is coming to the Linux kernel soon[0]. Upstream GRUB already has RISC-V support and Linux loader support will be added along with kernel support[1]. To enable building grub2 on riscv64, efibootmgr and efivar will need to be built. No additional changes are needed other than adding riscv64 to the package Architecture:s (see attached debdiff).
Thank you! [0] https://lkml.org/lkml/2020/4/20/1800 [1] https://lists.gnu.org/archive/html/grub-devel/2020-04/msg00203.html
diff -Nru efivar-37/debian/changelog efivar-37/debian/changelog --- efivar-37/debian/changelog 2019-03-01 09:55:07.000000000 -0800 +++ efivar-37/debian/changelog 2020-05-02 19:02:36.000000000 -0700 @@ -1,3 +1,9 @@ +efivar (37-3) unstable; urgency=medium + + * Enable riscv64 build + + -- Ryan Finnie <r...@finnie.org> Sat, 02 May 2020 19:02:36 -0700 + efivar (37-2) unstable; urgency=medium * Cherry-pick fix from upstream: diff -Nru efivar-37/debian/control efivar-37/debian/control --- efivar-37/debian/control 2019-03-01 09:40:21.000000000 -0800 +++ efivar-37/debian/control 2020-05-02 19:02:08.000000000 -0700 @@ -11,7 +11,7 @@ Package: libefivar-dev Section: libdevel -Architecture: amd64 i386 ia64 armhf arm64 armel x32 +Architecture: amd64 i386 ia64 armhf arm64 armel x32 riscv64 Multi-Arch: same Depends: libefivar1 (= ${binary:Version}), ${misc:Depends} Description: Development headers for libefivar @@ -19,7 +19,7 @@ Package: libefiboot-dev Section: libdevel -Architecture: amd64 i386 ia64 armhf arm64 armel x32 +Architecture: amd64 i386 ia64 armhf arm64 armel x32 riscv64 Multi-Arch: same Depends: libefiboot1 (= ${binary:Version}), ${misc:Depends} Conflicts: libefivar-dev (<< 27-1) @@ -29,14 +29,14 @@ Package: efivar Section: admin -Architecture: amd64 i386 ia64 armhf arm64 armel x32 +Architecture: amd64 i386 ia64 armhf arm64 armel x32 riscv64 Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends}, libefivar1 (= ${binary:Version}), libefiboot1 (= ${binary:Version}) Description: Tools to manage UEFI variables efivar provides a simple command line interface to the UEFI variable facility. Package: libefiboot1 -Architecture: amd64 i386 ia64 armhf arm64 armel x32 +Architecture: amd64 i386 ia64 armhf arm64 armel x32 riscv64 Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} @@ -45,7 +45,7 @@ Library to allow for the manipulation of UEFI variables related to booting. Package: libefivar1 -Architecture: amd64 i386 ia64 armhf arm64 armel x32 +Architecture: amd64 i386 ia64 armhf arm64 armel x32 riscv64 Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
signature.asc
Description: OpenPGP digital signature