diff options
| -rw-r--r-- | .SRCINFO | 2 | ||||
| -rw-r--r-- | 0001-build-sh.patch | 16 | ||||
| -rw-r--r-- | PKGBUILD | 2 |
3 files changed, 18 insertions, 2 deletions
@@ -26,6 +26,6 @@ pkgbase = google-cloud-ops-agent-git sha256sums = SKIP sha256sums = SKIP sha256sums = SKIP - sha256sums = b76f3853c695b688d1c34ba967b04c9d3eca58e7cd20af45a1403789e3481525 + sha256sums = ba66d01b8058644597d9b406d3b8ce7ed40aed77c7358f2b97ff0e262a4cbb98 pkgname = google-cloud-ops-agent-git diff --git a/0001-build-sh.patch b/0001-build-sh.patch index 29b9210..0c77457 100644 --- a/0001-build-sh.patch +++ b/0001-build-sh.patch @@ -1,3 +1,19 @@ +diff --git a/apps/builtinconf.go b/apps/builtinconf.go +index 361f2f206..597ecc36f 100644 +--- a/apps/builtinconf.go ++++ b/apps/builtinconf.go +@@ -21,9 +21,8 @@ var ( + "linux": { + Logging: &cg.Logging{ + Receivers: map[string]cg.LoggingReceiver{ +- "syslog": &cg.LoggingReceiverFiles{ +- ConfigComponent: cg.ConfigComponent{Type: "files"}, +- IncludePaths: []string{"/var/log/messages", "/var/log/syslog"}, ++ "syslog": &cg.LoggingReceiverSystemd{ ++ ConfigComponent: cg.ConfigComponent{Type: "systemd_journald"}, + }, + }, + Processors: map[string]cg.LoggingProcessor{}, diff --git a/build.sh b/build.sh index 4a97050f7..041b3ac72 100755 --- a/build.sh @@ -42,7 +42,7 @@ sha256sums=( 'SKIP' 'SKIP' 'SKIP' - 'b76f3853c695b688d1c34ba967b04c9d3eca58e7cd20af45a1403789e3481525' + 'ba66d01b8058644597d9b406d3b8ce7ed40aed77c7358f2b97ff0e262a4cbb98' ) pkgver() { |
