grub-shell: Use new cbfstool syntax.
This commit is contained in:
parent
44876dd64e
commit
db5eb6225d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue