Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[antlir2][appliance_vm] build kernel using exec_layer
Summary: Use a build layer compiled for the execution platform so that we don't have to run builds under the excruciatingly slow qemu user emulation. Test Plan: ``` ❯ buck2 build --show-output -c fbcode.arch=aarch64 fbcode//antlir/antlir2/appliance_vm:kernel Buck UI: https://www.internalfb.com/buck2/9791ab49-857f-44c0-acca-e69f1b32132b Note: Using experimental modern dice Network: Up: 0B Down: 0B Command: build. Jobs completed: 8. Time elapsed: 0.6s. BUILD SUCCEEDED fbcode//antlir/antlir2/appliance_vm:kernel buck-out/v2/gen/fbcode/a28d00ef89d2aebb/antlir/antlir2/appliance_vm/__kernel__/out ❯ zcat buck-out/v2/gen/fbcode/a28d00ef89d2aebb/antlir/antlir2/appliance_vm/__kernel__/out > ~/tmp/aarch64kernel ❯ file ~/tmp/aarch64kernel /home/vmagro/tmp/aarch64kernel: Linux kernel ARM64 boot executable Image, little-endian, 4K pages ``` Reviewed By: sergeyfd Differential Revision: D59333790 fbshipit-source-id: 58029e642f87166a1c3bcb546e8ae2d47603c20b
- Loading branch information