grub-shell: Use new cbfstool syntax.

This commit is contained in:
Vladimir Serbinenko 2016-01-07 15:55:45 +01:00
parent 44876dd64e
commit db5eb6225d

View file

@ -402,7 +402,7 @@ fi
if [ x$boot = xcoreboot ]; then if [ x$boot = xcoreboot ]; then
imgfile=`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` || exit 1 imgfile=`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` || exit 1
cp "${GRUB_COREBOOT_ROM}" "${imgfile}" cp "${GRUB_COREBOOT_ROM}" "${imgfile}"
"${GRUB_CBFSTOOL}" "${imgfile}" add-payload "${rom_directory}/coreboot.elf" fallback/payload "${GRUB_CBFSTOOL}" "${imgfile}" add-payload -f "${rom_directory}/coreboot.elf" -n fallback/payload
bootdev="-bios ${imgfile}" bootdev="-bios ${imgfile}"
device="cdrom " device="cdrom "
test -z "$debug" || echo "Coreboot image: ${imgfile}" >&2 test -z "$debug" || echo "Coreboot image: ${imgfile}" >&2