Removing legacy handling for lenny in grub2 handling of lb_binary_iso.

This commit is contained in:
Daniel Baumann 2011-01-17 09:57:10 +01:00
parent c4c316ed4f
commit 5ee6304087
1 changed files with 1 additions and 8 deletions

View File

@ -163,14 +163,7 @@ input_dir=/usr/lib/grub/i386-pc
# build core.img
core_img=\$(mktemp)
# first version requiring -O is 1.98+20100527, see #584415
if [ "$(grub-mkimage --help | grep '\-O')" ]
then
grub-mkimage -d \${input_dir} -o \${core_img} -O i386-pc biosdisk iso9660
else
grub-mkimage -d \${input_dir} -o \${core_img} biosdisk iso9660
fi
grub-mkimage -d \${input_dir} -o \${core_img} -O i386-pc biosdisk iso9660
# build grub_eltorito image
cat \${input_dir}/cdboot.img \${core_img} > binary/boot/grub/grub_eltorito