mirror of
https://github.com/tailscale/tailscale.git
synced 2026-05-05 04:06:35 +02:00
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>
19 lines
547 B
Makefile
19 lines
547 B
Makefile
help:
|
|
echo "See Makefile"
|
|
|
|
image:
|
|
go run build.go --build
|
|
|
|
qemu: image
|
|
qemu-system-x86_64 -m 1G -drive file=tsapp.img,format=raw -boot d -netdev user,id=user.0 -device virtio-net-pci,netdev=user.0 -serial mon:stdio -audio none
|
|
|
|
# For natlab integration tests:
|
|
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
|