diff options
| author | Shulhan <ms@kilabit.info> | 2025-12-21 21:06:01 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-12-27 12:08:03 +0700 |
| commit | d0cf62cee3220262b35811d18ae98cec52f73f6f (patch) | |
| tree | a9e87ae950962d4d6de598102da413fee7e0f0bd /google-guest-agent.install | |
| parent | e49e66e5df780af6dcac53e779aa468485f43acd (diff) | |
| download | google-guest-agent-d0cf62cee3220262b35811d18ae98cec52f73f6f.tar.xz | |
all: update to release 20251223.00 and some refactoring
Changes,
* Use [SPDX licenses] headers and name.
In SPDX, the license name is "Apache-2.0" not "Apache.
There are inconsistent copyright text "Google Inc." and "Google LLC",
in some files, so we choose "Google LLC" instead.
* Build without CGO (CGO_ENABLED=0).
This require removal of "-ldflags=-linkmode=external" option in GOFLAGS.
* Use explicit install command instead of "*".
* Install and enable the new gce-workload-cert-refresh binary and
systemd timer.
* Remove unneeded systemd preset from package.
* Add Makefile for common tasks
[SPDX licenses]: https://rfc.archlinux.page/0016-spdx-license-identifiers/
Diffstat (limited to 'google-guest-agent.install')
| -rw-r--r-- | google-guest-agent.install | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/google-guest-agent.install b/google-guest-agent.install index e640ca2..5282316 100644 --- a/google-guest-agent.install +++ b/google-guest-agent.install @@ -13,11 +13,15 @@ # limitations under the License. post_install() { - systemctl enable --now google-guest-agent.service - systemctl enable google-startup-scripts.service google-shutdown-scripts.service + systemctl enable google-guest-agent.service + systemctl enable gce-workload-cert-refresh.timer + systemctl enable google-startup-scripts.service + systemctl enable google-shutdown-scripts.service } pre_remove() { + systemctl disable google-shutdown-scripts.service + systemctl disable google-startup-scripts.service + systemctl disable gce-workload-cert-refresh.timer systemctl disable --now google-guest-agent.service - systemctl disable google-startup-scripts.service google-shutdown-scripts.service } |
