Convert to nbdkit data disk.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 25 Oct 2019 17:22:42 +0000 (18:22 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 25 Oct 2019 17:22:42 +0000 (18:22 +0100)
.gitignore
Makefile

index 5903843..2f4422f 100644 (file)
@@ -1,2 +1,3 @@
 *~
+pyrit.data
 pyrit.img
index c8fd2ee..d1202da 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,9 @@ all:    pyrit.img
 pyrit.img: pyrit.asm
        nasm -f bin -o $@ $<
 
+pyrit.data: pyrit.img
+       $(HOME)/d/nbdkit/plugins/data/disk2data.pl $< > $@
+
 clean:
        rm -f *~ pyrit.img