From 4aed0c58e3c4a801d21834cb90a2bd9d4960ecaf Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sun, 28 Apr 2024 19:04:05 +0000 Subject: [PATCH] mod: Fix tredoe/osutil library version The Go modules for this library are broken[1] due to the missing v1.1.0 tag. As a result, `go get -u` fails without this replace with the following error: $ go get -u [...] go: reading github.com/tredoe/osutil/go.mod at revision v1.1.0: unknown revision v1.1.0 $ echo $? 1 [1]: https://github.com/tredoe/osutil/issues/15 Signed-off-by: Joe Groocock --- go.mod | 3 +++ 1 file changed, 3 insertions(+) diff --git a/go.mod b/go.mod index 451cffea5..58be2cae8 100644 --- a/go.mod +++ b/go.mod @@ -167,3 +167,6 @@ require ( replace github.com/u-root/u-root v7.0.0+incompatible => github.com/u-root/u-root v1.0.1 replace github.com/insomniacslk/dhcp => github.com/insomniacslk/dhcp v0.0.0-20221001123530-5308ebe5334c + +// https://github.com/tredoe/osutil/issues/15 +replace github.com/tredoe/osutil => github.com/tredoe/osutil v2.0.0-rc.16+incompatible