third_party/go: disable btrfs in containerd
This makes sure that if we build with cgo enabled (for race testing) we
still don't attempt to build btrfs.
Change-Id: Ic608188ad1dc0b21c9f1822afa2b455bfd56959f
Reviewed-on: https://review.monogon.dev/c/monogon/+/1830
Reviewed-by: Leopold Schabel <leo@monogon.tech>
Tested-by: Jenkins CI
diff --git a/third_party/go/repositories.bzl b/third_party/go/repositories.bzl
index 6b1aba8..f0b8bb9 100644
--- a/third_party/go/repositories.bzl
+++ b/third_party/go/repositories.bzl
@@ -885,6 +885,7 @@
go_repository(
name = "com_github_containerd_containerd",
build_file_proto_mode = "disable",
+ build_tags = ["no_btrfs"], # keep
importpath = "github.com/containerd/containerd",
patch_args = ["-p1"],
pre_patches = [