gokrazy: update breakglass with now-upstreamed ec2 change

This updates breakglass to use the now-upsteamed
https://github.com/gokrazy/breakglass/pull/18 change
so we're not using our fork now.

It also adds a gok wrapper tool, because doing it by hand
was tedious.

Updates #1866

Change-Id: Ifacbf5fbf0e377b3bd95c5f76c18751c2e1af7d7
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2024-06-04 10:42:29 -07:00
committed by Brad Fitzpatrick
parent 347e3f3d9a
commit 6d3c10579e
3 changed files with 41 additions and 3 deletions

8
gokrazy/gok Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
# This is a wrapper around gok that sets --parent_dir.
dir=$(dirname "${BASH_SOURCE[0]}")
cd $dir
$dir/../tool/go run github.com/gokrazy/tools/cmd/gok --parent_dir="$dir" "$@"