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 committed Dec 28, 2023
1 parent a10eaba commit b9c33fe
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions age-plugin-tpm/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
--- PKGBUILD
+++ PKGBUILD
@@ -12,6 +12,12 @@ makedepends=("go" "git" "swtpm")
source=("$pkgname-$pkgver.tar.gz::https://github.com/Foxboron/$pkgname/archive/v${pkgver}.tar.gz")
sha256sums=('cafbf5986d7ac3b5e314b0f5cafe7fe8424d3af8e9a18f19a71a490bed91be7a')

+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
+}
+
build(){
cd "${pkgname}-${pkgver}"
go build \

0 comments on commit b9c33fe

Please sign in to comment.