summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-05-18 09:57:08 +0700
committerShulhan <ms@kilabit.info>2025-05-18 12:33:14 +0700
commitabe93f71e3f2f608c72db37b21f5c42460088250 (patch)
tree24b9f965fae59faaf1af3378ae2a5cd142979a30 /PKGBUILD
parentd8c85bf1963fe4135b9e62f5d0933a7df2b4ea36 (diff)
downloadgoogle-cloud-ops-agent-git-abe93f71e3f2f608c72db37b21f5c42460088250.tar.xz
all: fix building otel due to fixed go binary path
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e9c09f6..10c1682 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: shulhan <ms@kilabit.info>
pkgname=google-cloud-ops-agent-git
-pkgver=2.50.0.r4.g3c3db61cd
+pkgver=2.56.1.r4.g3239f98dc
pkgrel=1
pkgdesc="Ops Agents that are part of the Google Cloud Operations product suite (specifically Cloud Logging and Cloud Monitoring)"
@@ -37,6 +37,7 @@ source=(
"opentelemetry-operations-collector::git+https://github.com/GoogleCloudPlatform/opentelemetry-operations-collector.git"
"opentelemetry-java-contrib::git+https://github.com/open-telemetry/opentelemetry-java-contrib.git"
"0001-build-sh.patch"
+ "0002-builds_otel.sh.patch"
)
sha256sums=(
'SKIP'
@@ -44,6 +45,7 @@ sha256sums=(
'SKIP'
'SKIP'
'ba66d01b8058644597d9b406d3b8ce7ed40aed77c7358f2b97ff0e262a4cbb98'
+ '0e663cc6bbfdb5af962001b4645c3c154f715874fb910adfb3b3293564383f14'
)
pkgver() {
@@ -73,6 +75,7 @@ build() {
echo "--- Applying patches ..."
cd "${pkgname}"
git apply "${srcdir}/0001-build-sh.patch"
+ git apply "${srcdir}/0002-builds_otel.sh.patch"
echo "--- Building otel ..."
CGO_ENABLED=1 ./builds/otel.sh "$_destdir"