This repository was archived by the owner on Apr 13, 2024. It is now read-only.
Commit d3c7c5b
committed
driver: Support booting via EFI on arm64 and x86_64
If the ovmf or qemu-efi-aarch64 packages are installed on Debian or
Ubuntu, use those files to boot up via EFI. This will help prevent
regressions like ClangBuiltLinux/linux#634.
This is disabled for kernel/common because the kernel does not shut down
cleanly; I don't think this is worth exploring because Android does not
care about EFI as far as I am aware.
I considered checking in the fd files so that other distributions could
take advantage of this but these files are over 50MB, which is too much
of a burden to force on everyone.
Presubmit: https://travis-ci.com/nathanchance/continuous-integration/builds/123450697
[skip ci]
Suggested-by: Kees Cook <[email protected]>
Signed-off-by: Nathan Chancellor <[email protected]>1 parent 6ff45c2 commit d3c7c5b
2 files changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
| |||
148 | 154 | | |
149 | 155 | | |
150 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
151 | 163 | | |
152 | 164 | | |
153 | 165 | | |
| |||
0 commit comments