Skip to content

Commit

Permalink
addpatch: vault 1.18.1-1
Browse files Browse the repository at this point in the history
Replace bolt with bbolt. This project also contains both Node.js and Go parts, so building on Unmatched is needed.
  • Loading branch information
hack3ric authored and felixonmars committed Nov 26, 2024
1 parent f890985 commit fb2995f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions vault/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
--- PKGBUILD
+++ PKGBUILD
@@ -33,6 +33,10 @@ prepare() {
cd vault
sed -i 's|/etc/vault.d/vault.hcl|/etc/vault.hcl|g' .release/linux/package/usr/lib/systemd/system/vault.service
sed -i 's|/etc/vault.d/vault.env|/etc/default/vault|g' .release/linux/package/usr/lib/systemd/system/vault.service
+
+ go mod edit -replace go.etcd.io/bbolt=github.com/etcd-io/[email protected]
+ go mod edit -replace github.com/boltdb/bolt=go.etcd.io/[email protected]
+ go mod tidy
}

build() {

0 comments on commit fb2995f

Please sign in to comment.