2023-02-12 12:40:54 +00:00
|
|
|
.DEFAULT_GOAL :=
|
|
|
|
.PHONY: default
|
|
|
|
default: \
|
2024-03-01 18:51:15 +00:00
|
|
|
$(OUT_DIR)/airgap.iso
|
2023-01-30 23:17:54 +00:00
|
|
|
|
|
|
|
.PHONY: vm
|
2024-03-01 18:51:15 +00:00
|
|
|
vm:
|
2023-01-30 23:17:54 +00:00
|
|
|
$(call toolchain,$(USER)," \
|
|
|
|
qemu-system-i386 \
|
|
|
|
-M pc \
|
|
|
|
-nographic \
|
2023-02-12 11:00:11 +00:00
|
|
|
-cdrom "$(OUT_DIR)/airgap.iso"; \
|
2023-01-30 23:17:54 +00:00
|
|
|
")
|
2020-07-24 10:07:39 +00:00
|
|
|
|
2022-12-24 23:56:16 +00:00
|
|
|
$(OUT_DIR)/airgap.iso: \
|
2024-03-01 18:51:15 +00:00
|
|
|
$(FETCH_DIR)/buildroot
|
|
|
|
docker build \
|
|
|
|
--progress=plain \
|
|
|
|
--output type=oci,tar=false,force-compression=true,name=airgap,dest=airgap \
|
|
|
|
. \
|
|
|
|
-f Containerfile
|