m/n/build: implement new fsspec infrastructure
This makes the node_initramfs and erofs_image use the new common fsspec
infrastructure. It also adds the fsspecs attribute to both which can
later be used to add arbitrary fsspecs.
Change-Id: I384e04712c0a70f82c5c975911cbb1d0d5e6cabc
Reviewed-on: https://review.monogon.dev/c/monogon/+/530
Reviewed-by: Sergiusz Bazanski <serge@monogon.tech>
diff --git a/third_party/go/repositories.bzl b/third_party/go/repositories.bzl
index ac1189f..e6b69e1 100644
--- a/third_party/go/repositories.bzl
+++ b/third_party/go/repositories.bzl
@@ -203,6 +203,16 @@
],
)
go_repository(
+ name = "com_github_cavaliergopher_cpio",
+ importpath = "github.com/cavaliergopher/cpio",
+ version = "v1.0.0",
+ sum = "h1:r03k5NVg5kuFMbtRnldtwsm/8mt8qmHg/QBl7y/PUiE=",
+ build_extra_args = [
+ "-go_naming_convention=go_default_library",
+ "-go_naming_convention_external=go_default_library",
+ ],
+ )
+ go_repository(
name = "com_github_cenkalti_backoff",
importpath = "github.com/cenkalti/backoff",
version = "v1.1.1-0.20190506075156-2146c9339422",
@@ -1796,6 +1806,16 @@
],
)
go_repository(
+ name = "com_github_pierrec_lz4_v4",
+ importpath = "github.com/pierrec/lz4/v4",
+ version = "v4.1.12",
+ sum = "h1:44l88ehTZAUGW4VlO1QC4zkilL99M6Y9MXNwEs0uzP8=",
+ build_extra_args = [
+ "-go_naming_convention=go_default_library",
+ "-go_naming_convention_external=go_default_library",
+ ],
+ )
+ go_repository(
name = "com_github_pkg_errors",
importpath = "github.com/pkg/errors",
version = "v0.9.1",