* util/grub-mkrawimage.c (generate_image): Add forgotten ALIGN_UP.
+2010-02-13 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * util/grub-mkrawimage.c (generate_image): Add forgotten ALIGN_UP.
+
2010-02-10 Vladimir Serbinenko <phcoder@gmail.com>
Pass SIMPLE framebuffer size in bytes and not 64K blocks.
}
for (p = path_list; p; p = p->next)
- total_module_size += (grub_util_get_image_size (p->name)
+ total_module_size += (ALIGN_UP (grub_util_get_image_size (p->name), 4)
+ sizeof (struct grub_module_header));
grub_util_info ("the total module size is 0x%x", total_module_size);