m/c/metroctl: move installer dependency to runfiles
This is the first step in not requiring a full Metropolis build to build
metroctl.
Things are still actively coupled at build time, but the resulting
binary can now run without any embedded installer.
Change-Id: I55fc53c57ac6d1d3e75a225e7d7c79bae5759b67
Reviewed-on: https://review.monogon.dev/c/monogon/+/1945
Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
Tested-by: Jenkins CI
diff --git a/metropolis/cli/metroctl/BUILD.bazel b/metropolis/cli/metroctl/BUILD.bazel
index 3b6dc25..960c220 100644
--- a/metropolis/cli/metroctl/BUILD.bazel
+++ b/metropolis/cli/metroctl/BUILD.bazel
@@ -18,10 +18,8 @@
"table_node.go",
],
data = [
- "//metropolis/node:bundle",
- ],
- embedsrcs = [
"//metropolis/installer:kernel", #keep
+ "//metropolis/node:bundle",
],
importpath = "source.monogon.dev/metropolis/cli/metroctl",
visibility = ["//visibility:private"],