From 6aab136adcb52372fde44af3756b999fa1028e09 Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Mon, 13 Feb 2017 11:50:07 +0000 Subject: [PATCH] dd unit size is very non standard, just use numbers On OSX the system version uses `m` but `brew` will install a version that only understands `M`... Signed-off-by: Justin Cormack --- scripts/hyperkit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/hyperkit.sh b/scripts/hyperkit.sh index fe5fba5e5..330a04109 100755 --- a/scripts/hyperkit.sh +++ b/scripts/hyperkit.sh @@ -6,7 +6,7 @@ KERNEL="kernel/x86_64/vmlinuz64" : ${INITRD:="alpine/initrd.img"} CMDLINE="earlyprintk=serial console=ttyS0" -[ -f disk.img ] || dd if=/dev/zero of=disk.img bs=1m count=256 +[ -f disk.img ] || dd if=/dev/zero of=disk.img bs=1048576 count=256 MEM="-m 1G" SMP="-c 1"