Add support for pseries and other bootinfo machines to grub-mkrescue.

Tested by: Paulo Flabiano Smorigo.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-04-19 00:36:23 +02:00
parent d0d2daa661
commit daaa64bd90
4 changed files with 89 additions and 0 deletions

View file

@ -449,6 +449,8 @@ fi
if [ -e "${iso9660_dir}/boot/powerpc.elf" ] ; then
cp "${ppc_dir}/grub.chrp" "${iso9660_dir}"/System/Library/CoreServices/BootX
mkdir -p "${iso9660_dir}"/ppc/chrp
cp "${ppc_dir}/bootinfo.txt" "${iso9660_dir}"/ppc/bootinfo.txt
cp "${iso9660_dir}/boot/powerpc.elf" "${iso9660_dir}"/System/Library/CoreServices/grub.elf
# FIXME: add PreP
if [ "$system_area" = common ]; then