Use sfdisk to add a partition table to the disks.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 30 Jan 2015 11:15:31 +0000 (11:15 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 30 Jan 2015 11:15:31 +0000 (11:15 +0000)
Makefile

index a232ee6..f83471f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,7 @@ init: init.c
 %.img:
        rm -f $@
        truncate -s 1G $@
+       echo '2048,,L' | sfdisk $@
 
 clean:
        rm -f $(disks) $(modules) init initrd