merge rescue-efi into bootttest

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-04-27 21:43:52 +02:00
commit 0de992f57c

View file

@ -165,7 +165,7 @@ if test -e "${coreboot_dir}" ; then
cat << EOF > ${memdisk_dir}/boot/grub/grub.cfg cat << EOF > ${memdisk_dir}/boot/grub/grub.cfg
search --fs-uuid --set ${iso_uuid} search --fs-uuid --set ${iso_uuid}
set prefix=(\${root})/boot/grub/${target_cpu}-coreboot set prefix=(\${root})/boot/grub/${target_cpu}-coreboot
source $prefix/grub.cfg source \$prefix/grub.cfg
EOF EOF
(for i in ${modules} ; do (for i in ${modules} ; do
echo "insmod $i" echo "insmod $i"
@ -222,7 +222,7 @@ if test -e "${efi64_dir}" ; then
cat << EOF > ${memdisk_dir}/boot/grub/grub.cfg cat << EOF > ${memdisk_dir}/boot/grub/grub.cfg
search --fs-uuid --set ${iso_uuid} search --fs-uuid --set ${iso_uuid}
set prefix=(\${root})/boot/grub/${target_cpu}-efi set prefix=(\${root})/boot/grub/${target_cpu}-efi
source $prefix/grub.cfg source \$prefix/grub.cfg
EOF EOF
tar -C ${memdisk_dir} -cf ${memdisk_img} boot tar -C ${memdisk_dir} -cf ${memdisk_img} boot