Browse files

Use tools/bootinfo instead of passing -boot-info-table, so it doesn't…

… modify stage2_eltorito
  • Loading branch information...
1 parent 1f75cb6 commit 82fdf2badc0d2f970eaeaeea5339047e077d0820 @duckinator committed Aug 12, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 makeiso.sh
View
7 makeiso.sh
@@ -26,9 +26,12 @@ if [ `uname -s` = "Darwin" ]; then
hdiutil makehybrid -iso -o dux.iso \
-eltorito-boot isofs/boot/grub/stage2_eltorito \
-no-emul-boot isofs
- ./tools/bootinfo isofs/boot/grub/stage2_eltorito dux.iso
else
- $isocmd -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -input-charset utf-8 -o dux.iso isofs
+ $isocmd -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -input-charset utf-8 -o dux.iso isofs
fi
+# Instead of calling -boot-info-table, we use tools/bootinfo, so it doesn't modify stage2_eltorito.
+# Why doesn't -boot-info-table just modify the iso, you ask? I'd like to know as well...
+./tools/bootinfo isofs/boot/grub/stage2_eltorito dux.iso
+
mv dux.iso iso

0 comments on commit 82fdf2b

Please sign in to comment.