-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add embedded version of edk2 firmware files
Whether edk2 is available on operating systems varies, so the best choice is to embed the amd64/arm64 EFI files. We need these files to boot amd64 images in EFI mode, and also for arm64 images to boot at all.
- Loading branch information
1 parent
b8ffcd4
commit 6bec690
Showing
6 changed files
with
35 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM debian:bookworm | ||
|
||
RUN apt-get update && apt-get install -y qemu-efi-aarch64 ovmf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Package edk provides a bundled copy of the systemd-boot UEFI app. | ||
package edk | ||
|
||
import _ "embed" | ||
|
||
//go:embed QEMU_EFI.fd | ||
var Arm64EFI []byte | ||
|
||
//go:embed OVMF_CODE.fd | ||
var Amd64EFI []byte |