diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-06 12:41:57 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-06 12:41:57 +0000 |
commit | 3c797616da7f0b236ec22b72e917294e56f0d3e5 (patch) | |
tree | 0a483b45af1d4d3202a1851fede8999fcd1174fe /mkimage.sh | |
parent | f9b302ebf9ff07c555432083d2f450d2e2af80de (diff) | |
download | morph-3c797616da7f0b236ec22b72e917294e56f0d3e5.tar.gz |
Fix hole creation to use a small buffer
dd does not need to allocate a buffer, but it evidently does, and this
fails on ARM boards. Using a small buffer is no problem, of course.
Diffstat (limited to 'mkimage.sh')
-rwxr-xr-x | mkimage.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ img="$1" shift # Create an empty file (a hole) as the raw disk image file. -dd if=/dev/zero of="$img" bs=16G seek=1 count=0 +dd if=/dev/zero of="$img" bs=1k seek=16777216 count=0 # Partition. See the sfdisk(8) manpage for an explanation of the input. sfdisk "$img" <<EOF |