summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-19 10:18:49 +0100
committerChristian Breunig <christian@breunig.cc>2023-11-19 10:18:49 +0100
commitb3d0ebaf1d7d5b5a54be284e553defb8ed4a7a6f (patch)
treeaee13d58dec88389ae8a7aa01ef2526fa4e2a4cd /Makefile
parent80e223cc52bdf43811e1031a68ab51dd7dac66f8 (diff)
downloadvyos-build-b3d0ebaf1d7d5b5a54be284e553defb8ed4a7a6f.tar.gz
vyos-build-b3d0ebaf1d7d5b5a54be284e553defb8ed4a7a6f.zip
Makefile: add new target qemu-live
Simply boot a live qemu version from the latest ISO build (10:18) cpo lnx01:~/vyos-build [current] # sudo make qemu-live if [ ! -f build/live-image-amd64.hybrid.iso ]; then echo "Could not find build/live-image-amd64.hybrid.iso" exit 1 fi scripts/check-qemu-install --qemu-cmd build/live-image-amd64.hybrid.iso INFO - Creating Disk image testinstall-20231119-101823-4483.img SeaBIOS (version 1.16.2-debian-1.16.2-1) Machine UUID f48b60b2-e6ad-49ef-9d09-4245d0585e52 Booting from DVD/CD... ISOLINUX 6.04 20200816 ETCD Copyright (C) 1994-2015 H. Peter Anvin et al
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5ba003d0..f9b5903f 100644
--- a/Makefile
+++ b/Makefile
@@ -54,6 +54,11 @@ testc: checkiso
testraid: checkiso
scripts/check-qemu-install --debug --configd --raid --configtest build/live-image-amd64.hybrid.iso
+.PHONY: qemu-live
+.ONESHELL:
+qemu-live: checkiso
+ scripts/check-qemu-install --qemu-cmd build/live-image-amd64.hybrid.iso
+
.PHONY: clean
.ONESHELL:
clean: