summaryrefslogtreecommitdiffstats
path: root/make_boot_img
diff options
context:
space:
mode:
Diffstat (limited to 'make_boot_img')
-rwxr-xr-xmake_boot_img2
1 files changed, 1 insertions, 1 deletions
diff --git a/make_boot_img b/make_boot_img
index 2bbca5ae6..f67593615 100755
--- a/make_boot_img
+++ b/make_boot_img
@@ -232,7 +232,7 @@ sub boot_img_x86_64 {
__ "$sudo umount $mnt 2>/dev/null";
- _ "dd if=/dev/zero of=$img bs=1k count=1440";
+ _ "dd if=/dev/zero of=$img bs=1k count=" . ($type eq "ka" ? 2880 : 1440);
_ "/sbin/mkfs.vfat $img";
_ "$sudo syslinux -s $img";
_ "$sudo mount -t vfat -o umask=0 $img $mnt -o loop";