Include /grub.cfg
This commit is contained in:
parent
ff6bea78b4
commit
613b1b2c58
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue