diff options
| author | Shulhan <ms@kilabit.info> | 2023-02-17 00:11:16 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-02-17 00:11:54 +0700 |
| commit | 1198b7531a4dc6ecadc30284744934dfbaa536d1 (patch) | |
| tree | d236a18a0fadcbc6039fc8e6624eef557a9b7bce /Makefile | |
| parent | a82178cdd43d4d98480400abdd57e74fab2795ce (diff) | |
| download | google-cloud-ops-agent-git-1198b7531a4dc6ecadc30284744934dfbaa536d1.tar.xz | |
all: fix build failed due to upstream changes
Since PR #1038 merged to master, the build failed due to the $DESTDIR
now replaced with "/work" for building with docker. [1]
[1] https://github.com/GoogleCloudPlatform/ops-agent/pull/1038#discussion_r1106206200
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -16,13 +16,16 @@ chrootpkg: mkdir -p $$HOME/.gradle mkdir -p _build mkarchroot _build/root base-devel systemd || exit 0 - makechrootpkg -d $$HOME/go:/build/go \ + makechrootpkg \ + -d /tmp \ + -d $$HOME/go:/build/go \ -d $$HOME/.cache/go-build:/build/.cache/go-build \ -d $$HOME/.gradle:/build/.gradle \ - -r _build + -r _build \ + -- --nocolor patch: - git -C src/google-cloud-ops-agent-git diff > 0001-apps-hostmetrics.patch && \ + git -C src/google-cloud-ops-agent-git diff > 0001-build-sh.patch && \ makepkg -g release: |
