Apply containerd build patch again
The containerd pure mode build patch is no longer being applied after D535.
containerd is thus no longer executable since we don't have a dynamic loader
in Smalltown. This applies the patch again using Fietsje.
Test Plan: Tested under D544
X-Origin-Diff: phab/D545
GitOrigin-RevId: 76bc4804c4dd0faf5fd38685d0c69bfa4af6ea94
diff --git a/build/fietsje/deps_containerd.go b/build/fietsje/deps_containerd.go
index 0678725..11d9762 100644
--- a/build/fietsje/deps_containerd.go
+++ b/build/fietsje/deps_containerd.go
@@ -21,6 +21,7 @@
"github.com/containerd/containerd", "8e685f78cf66e2901b2fbed2fdddd64449a74ab9",
buildTags("no_zfs", "no_aufs", "no_devicemapper", "no_btrfs"),
disabledProtoBuild,
+ patches("containerd-build.patch"),
).use(
"github.com/BurntSushi/toml",
"github.com/Microsoft/go-winio",
diff --git a/third_party/go/repositories.bzl b/third_party/go/repositories.bzl
index 8e56dd3..00e92e2 100644
--- a/third_party/go/repositories.bzl
+++ b/third_party/go/repositories.bzl
@@ -242,6 +242,10 @@
"no_devicemapper",
"no_btrfs",
],
+ patches = [
+ "//third_party/go/patches:containerd-build.patch",
+ ],
+ patch_args = ["-p1"],
)
go_repository(
name = "com_github_containerd_continuity",