2009-12-21 Robert Millan <rmh.grub@aybabtu.com>

* util/grub-mkrescue.in: Do not zero-pad image for BIOS-based disk
        boot.
This commit is contained in:
Robert Millan 2009-12-21 19:10:07 +00:00
parent 0ae5692966
commit e930981361
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
* util/grub-mkrescue.in: Do not zero-pad image for BIOS-based disk
boot.
2009-12-21 Robert Millan <rmh.grub@aybabtu.com> 2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
* util/mkisofs/mkisofs.c (use_embedded_boot, boot_image_embed): New * util/mkisofs/mkisofs.c (use_embedded_boot, boot_image_embed): New

View file

@ -164,7 +164,7 @@ if test -e "${pc_dir}" ; then
cat ${pc_dir}/cdboot.img ${core_img} > ${iso9660_dir}/boot/grub/i386-pc/eltorito.img cat ${pc_dir}/cdboot.img ${core_img} > ${iso9660_dir}/boot/grub/i386-pc/eltorito.img
embed_img=`mktemp` embed_img=`mktemp`
cat ${pc_dir}/boot.img ${core_img} /dev/zero | dd bs=1024 count=32 > ${embed_img} cat ${pc_dir}/boot.img ${core_img} > ${embed_img}
rm -f ${core_img} rm -f ${core_img}