diff options
| author | Shulhan <ms@kilabit.info> | 2023-07-15 14:53:27 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-07-15 15:07:21 +0700 |
| commit | 1d88da4acbf721ab319261e84ac27985a5812770 (patch) | |
| tree | e043be207aa64f5dac51c7dc8784b21e2893b305 /PKGBUILD | |
| parent | 29d6096821e59ac2aca3de8c0cdd74a58af75663 (diff) | |
| download | google-cloud-ops-agent-git-1d88da4acbf721ab319261e84ac27985a5812770.tar.xz | |
all: patch the default config.yaml to use systemd_journald
Previosly, the default config.yaml receivers for syslog is using
"type: files" that read /var/log/messages and /var/log/syslog.
In Arch Linux, those files are not exist anymore, so we replace the
with "type: systemd_journald" to make all the system logs forwarded to
Cloud Logging.
Diffstat (limited to 'PKGBUILD')
| -rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,7 +42,7 @@ sha256sums=( 'SKIP' 'SKIP' 'SKIP' - 'a4ec5040542b3b7b33b995f8357fd81dac901975f7d52955b713f8cccc756501' + 'b76f3853c695b688d1c34ba967b04c9d3eca58e7cd20af45a1403789e3481525' ) pkgver() { @@ -70,6 +70,7 @@ build() { echo "destdir: $_destdir" cd "${pkgname}" + git apply "${srcdir}/0001-build-sh.patch" CGO_ENABLED=1 ./builds/otel.sh "$_destdir" ./builds/fluent_bit.sh "$_destdir" @@ -77,7 +78,6 @@ build() { ./builds/ops_agent_diagnostics.sh "$_destdir" ./builds/agent_wrapper.sh "$_destdir" - git apply "${srcdir}/0001-build-sh.patch" BUILD_DISTRO=arch CODE_VERSION="${pkgver}" DESTDIR="$_destdir" \ ./build.sh } |
