summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-05-18 10:06:06 +0700
committerShulhan <ms@kilabit.info>2025-05-18 13:25:14 +0700
commitf642a31e26761be435241bb895f3b363698acf71 (patch)
treef4ab95bfff029774de9e016eeff6393dc8c9708e /PKGBUILD
parentabe93f71e3f2f608c72db37b21f5c42460088250 (diff)
downloadgoogle-cloud-ops-agent-git-f642a31e26761be435241bb895f3b363698acf71.tar.xz
all: fix building fluent-bit using cmake version 4.0.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 10c1682..9db2ede 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -38,6 +38,7 @@ source=(
"opentelemetry-java-contrib::git+https://github.com/open-telemetry/opentelemetry-java-contrib.git"
"0001-build-sh.patch"
"0002-builds_otel.sh.patch"
+ "0003-fluent-bit.patch"
)
sha256sums=(
'SKIP'
@@ -46,6 +47,7 @@ sha256sums=(
'SKIP'
'ba66d01b8058644597d9b406d3b8ce7ed40aed77c7358f2b97ff0e262a4cbb98'
'0e663cc6bbfdb5af962001b4645c3c154f715874fb910adfb3b3293564383f14'
+ 'c75c0d786009829897cf6ba001d8e223cc5d4923062007fcda2b7c0c1669713a'
)
pkgver() {
@@ -81,6 +83,11 @@ build() {
CGO_ENABLED=1 ./builds/otel.sh "$_destdir"
echo "--- Building fluent_bit ..."
+ echo "--- pkgname=${pkgname}"
+ echo "--- pwd=${PWD}"
+ cd "submodules/fluent-bit"
+ git apply "${srcdir}/0003-fluent-bit.patch"
+ cd "../.."
./builds/fluent_bit.sh "$_destdir"
echo "--- Building systemd ..."