Commit c9478c8
[antlir2][appliance_vm] update kernel, fix for aarch64
Summary:
`crosvm` can't launch compressed aarch64 kernels
Enforce local execution since the image build requires local execution and thus
everything must match the build host architecture.
Fixing the aarch64 guest kernel required a kernel update and a bunch of config
changes that are also included with this diff
Test Plan:
```name="Test with a local kernel"
❯ hg diff
diff --git a/fbcode/antlir/antlir2/appliance_vm/BUCK b/fbcode/antlir/antlir2/appliance_vm/BUCK
--- a/fbcode/antlir/antlir2/appliance_vm/BUCK
+++ b/fbcode/antlir/antlir2/appliance_vm/BUCK
@@ -8,10 +8,11 @@
alias(
name = "kernel",
- actual = internal_external(
- fb = "//antlir/antlir2/appliance_vm/facebook:msdk[vmlinuz/vmlinuz]",
- oss = "//antlir/antlir2/appliance_vm/impl:kernel",
- ),
+ actual = "//antlir/antlir2/appliance_vm/impl:kernel",
+ # actual = internal_external(
+ # fb = "//antlir/antlir2/appliance_vm/facebook:msdk[vmlinuz/vmlinuz]",
+ # oss = "//antlir/antlir2/appliance_vm/impl:kernel",
+ # ),
visibility = ["PUBLIC"],
)
❯ buck2 test fbcode//antlir/antlir2/appliance_vm/...
Buck UI: https://www.internalfb.com/buck2/5c148a03-5ee7-490a-857b-89feff9591ec
Tests finished: Pass 3. Fail 0. Fatal 0. Skip 0. Infra Failure 0. Build failure 0
```
https://www.internalfb.com/intern/testinfra/testrun/7599824681715697
Reviewed By: naveedgol
Differential Revision: D87095734
fbshipit-source-id: 6610b54fd12c30004de141abc0646a9b989272871 parent 8b34014 commit c9478c8
File tree
5 files changed
+3122
-831
lines changed- antlir/antlir2/appliance_vm
- impl
5 files changed
+3122
-831
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | | - | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
0 commit comments