Include /grub.cfg

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-04-27 13:44:39 +02:00
parent ff6bea78b4
commit 613b1b2c58

View file

@ -165,6 +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
EOF
(for i in ${modules} ; do
echo "insmod $i"
@ -221,6 +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
EOF
tar -C ${memdisk_dir} -cf ${memdisk_img} boot