summaryrefslogtreecommitdiff
path: root/partitions
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2021-02-23 22:05:53 -0500
committerAndrew Cady <d@cryptonomic.net>2021-02-23 22:05:53 -0500
commitc08551a63baa3cab98a6172cb819f7b8b62ba0d0 (patch)
tree1b835b6dc4fac2c6efeb408be94259ad89b32694 /partitions
parent6889986a93415a55691fb145abe2de4cf959b62e (diff)
key-only mode for partvi; integrated partvi
These commands are available in sami: make upgrade make emu make key They use partvi.
Diffstat (limited to 'partitions')
-rw-r--r--partitions/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/partitions/Makefile b/partitions/Makefile
index cf8ac28..a1a7fea 100644
--- a/partitions/Makefile
+++ b/partitions/Makefile
@@ -6,12 +6,20 @@ all: whole.img
6whole.img: 6whole.img:
7 partvi 7 partvi
8 8
9.PHONY: usb emu 9key.img:
10 partvi key
11
12.PHONY: usb emu key
10usb: whole.img 13usb: whole.img
11 usb=$$(usb) && dd status=progress if="$<" of="$$usb" 14 usb=$$(usb) && sudo dd status=progress if="$<" of="$$usb"
12 15
13emu: whole.img 16emu: whole.img
14 qemu-system-x86_64 -m 800 -enable-kvm -boot c "$<" 17 qemu-system-x86_64 -m 800 -enable-kvm -boot c "$<"
15 18
19key: key.img
20 usb=$$(usb) && \
21 sudo dd status=progress bs=1048576 if="$<" of="$$usb" && \
22 sudo qemu-system-x86_64 -m 800 -enable-kvm -boot c "$$usb"
23
16clean: 24clean:
17 rm -rf _build whole.img 25 rm -rf _build whole.img