third_party/efistub: init
Adds the EFI stub from systemd-boot, built using our new EFI toolchain.
This allows us to bundle kernels, command lines and other data into
single EFI payloads and also sign them later.
A rules to build these unified EFI payloads is coming later.
Change-Id: I789e893ff88541f3dc9e7400ccd2565ae414e554
Reviewed-on: https://review.monogon.dev/c/monogon/+/335
Reviewed-by: Sergiusz Bazanski <serge@monogon.tech>
diff --git a/WORKSPACE b/WORKSPACE
index 5462219..fcf5197 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -216,6 +216,15 @@
version = "3.0.14",
)
+load("//third_party/efistub:external.bzl", "efistub_external")
+
+efistub_external(
+ name = "efistub",
+ # Developed in the systemd monorepo, pinned to master as there have been a bunch of critical fixes for the
+ # EFI stub since 249.
+ version = "3542da2442d8b29661b47c42ad7e5fa9bc8562ec",
+)
+
register_toolchains("//:host_python")
# python dependencies. Currently we don't use Python, but some of our deps (ie. gvisor) do expect @pydeps// to exist, even