m/c/metroctl/core: add frontend-independent metroctl support pkg
This adds metroctl/core, a package which contains parts of metroctl
which do significant amounts of work beyond just providing a CLI for
them.
This package is intended to be used for integrating with functions
provided by metroctl, for example for using them in integration tests
or writing other frontends providing functionality similar to metroctl
(like a GUI or webapp).
Change-Id: I8a56bfbefce8d18c6c9be3349e3c7a15a699d009
Reviewed-on: https://review.monogon.dev/c/monogon/+/411
Reviewed-by: Mateusz Zalega <mateusz@monogon.tech>
Vouch-Run-CI: Mateusz Zalega <mateusz@monogon.tech>
diff --git a/build/fietsje/deps_monogon.go b/build/fietsje/deps_monogon.go
index fc81bf5..f192b6c 100644
--- a/build/fietsje/deps_monogon.go
+++ b/build/fietsje/deps_monogon.go
@@ -62,8 +62,11 @@
p.collectOverride("github.com/mattn/go-shellwords", "v1.0.11")
// Used by //metropolis/build/mkimage
- p.collect("github.com/diskfs/go-diskfs", "v1.0.0").use(
+ p.collect("github.com/diskfs/go-diskfs", "v1.2.0").use(
"gopkg.in/djherbis/times.v1",
+ "github.com/pkg/xattr",
+ "github.com/pierrec/lz4",
+ "github.com/ulikunitz/xz",
)
// Used by //metropolis/build/genosrelease