gokrazy: add arm64 natlab appliance image support
Add natlabapp.arm64 config and gokrazydeps.go for building a gokrazy natlab appliance image targeting arm64 (Apple Silicon). This is the arm64 counterpart to the existing natlabapp (amd64) used by vmtest. The arm64 image uses github.com/gokrazy/kernel.arm64 and is built with "make natlab-arm64" in the gokrazy directory. Updates #13038 Change-Id: I0e1f8e5840083a5de5954f2cf46e3babec129d96 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
cf59a6fb23
commit
0e8ae9d60c
@@ -11,3 +11,8 @@ qemu: image
|
||||
natlab:
|
||||
go run build.go --build --app=natlabapp
|
||||
qemu-img convert -O qcow2 natlabapp.img natlabapp.qcow2
|
||||
|
||||
# For natlab integration tests on macOS arm64:
|
||||
natlab-arm64:
|
||||
go run build.go --build --app=natlabapp.arm64
|
||||
qemu-img convert -O qcow2 natlabapp.arm64.img natlabapp.arm64.qcow2
|
||||
|
||||
Reference in New Issue
Block a user