summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile19
1 files changed, 15 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 9398787..f071c77 100644
--- a/Makefile
+++ b/Makefile
@@ -136,20 +136,31 @@ boot: rootfs
136fastboot: rootfs 136fastboot: rootfs
137 sudo qemu.sh 137 sudo qemu.sh
138 138
139reuse_child := $(shell 2>/dev/null read child < reused-child && echo --reuse_child=$$child; true) 139reuse_child := $(shell 2>/dev/null read child < reused-child && echo --reuse-child=$$child; true)
140 140
141samizdat.iso: 141samizdat.iso:
142 sudo initrd.sh 142 sudo initrd.sh
143 xorriso-usb.sh $(reuse_child) --bootloader --out samizdat.iso 143 sudo xorriso-usb.sh $(reuse_child) --bootloader --out samizdat.iso
144
145
146testclean:
147 make -C kiki install
148 sudo mv /root/.gnupg /root/.gnupg.$$(date -Im) || true
149 sudo killall gpg-agent || true
150 rm -f reused-child
151
152cleantest:
153 make testclean
154 make isotest-nonet
144 155
145isotest: install 156isotest: install
146 sudo initrd.sh 157 sudo initrd.sh
147 xorriso-usb.sh $(reuse_child) --bootloader --out samizdat.iso 158 sudo xorriso-usb.sh $(reuse_child) --bootloader --out samizdat.iso
148 USE_ISO=y SLOW_BOOT=y qemu.sh 159 USE_ISO=y SLOW_BOOT=y qemu.sh
149 160
150isotest-nonet: install 161isotest-nonet: install
151 sudo initrd.sh 162 sudo initrd.sh
152 xorriso-usb.sh $(reuse_child) --out samizdat-nonet.iso 163 sudo xorriso-usb.sh $(reuse_child) --out samizdat-nonet.iso
153 USE_ISO=y SLOW_BOOT=y NO_NET=y qemu.sh samizdat-nonet.iso 164 USE_ISO=y SLOW_BOOT=y NO_NET=y qemu.sh samizdat-nonet.iso
154 165
155.PHONY: install 166.PHONY: install