merge boottest into newreloc
This commit is contained in:
commit
083a38ad82
2 changed files with 4 additions and 3 deletions
|
@ -146,9 +146,8 @@ if [ x$boot = xfd ]; then
|
||||||
bootdev=a
|
bootdev=a
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ${qemu} ${qemuopts} -nographic -serial file:/dev/stdout -monitor file:/dev/null -${device} ${isofile} -boot ${bootdev}
|
${qemu} ${qemuopts} -nographic -serial file:/dev/stdout -monitor file:/dev/null -${device} ${isofile} -boot ${bootdev} | tr -d "\r"
|
||||||
#${qemu} ${qemuopts} -nographic -serial file:/dev/stdout -monitor file:/dev/null -${device} ${isofile} -boot ${bootdev} | tr -d "\r"
|
rm -f ${isofile}
|
||||||
#rm -f ${isofile}
|
|
||||||
|
|
||||||
rm -f ${tmpfile} ${cfgfile}
|
rm -f ${tmpfile} ${cfgfile}
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -165,6 +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
|
||||||
EOF
|
EOF
|
||||||
(for i in ${modules} ; do
|
(for i in ${modules} ; do
|
||||||
echo "insmod $i"
|
echo "insmod $i"
|
||||||
|
@ -221,6 +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
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
tar -C ${memdisk_dir} -cf ${memdisk_img} boot
|
tar -C ${memdisk_dir} -cf ${memdisk_img} boot
|
||||||
|
|
Loading…
Reference in a new issue