Skip to content

Commit

Permalink
addpatch: age-plugin-tpm
Browse files Browse the repository at this point in the history
- patch [go-tpm-tools](https://github.com/google/go-tpm-tools) to support RISC V
- upstreamed: google/go-tpm-tools#407
- check will timeout on luxio, while centiskorch is ok
  • Loading branch information
aimixsaka authored and felixonmars committed Dec 28, 2023
1 parent fb3c2c0 commit b56757f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions age-plugin-tpm/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- PKGBUILD
+++ PKGBUILD
@@ -33,3 +33,9 @@ package(){
install -Dm755 -t "${pkgdir}/usr/bin/" age-plugin-tpm
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
}
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ echo -e '\nreplace github.com/google/go-tpm-tools => github.com/aimixsaka/go-tpm-tools riscv\n' >> go.mod
+ go mod tidy
+}

0 comments on commit b56757f

Please sign in to comment.