merge boottest into newreloc

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-04-27 21:44:29 +02:00
commit ee093e9f1c

View file

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