mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
vm_image_util.sh: update path to arm64 UEFI firmware
The arm64 firmware is now called AAVMF with the updated edk2-aarch64 ebuild.
This commit is contained in:
parent
58806c5342
commit
8019f7fd9f
@ -807,14 +807,10 @@ _write_qemu_uefi_conf() {
|
|||||||
# Get edk2 files into local build workspace.
|
# Get edk2 files into local build workspace.
|
||||||
info "Updating edk2 in /build/${BOARD}"
|
info "Updating edk2 in /build/${BOARD}"
|
||||||
emerge-${BOARD} --nodeps --select --verbose --update --getbinpkg --newuse sys-firmware/edk2-aarch64
|
emerge-${BOARD} --nodeps --select --verbose --update --getbinpkg --newuse sys-firmware/edk2-aarch64
|
||||||
# Create 64MiB flash device image files.
|
cp "${BOARD_ROOT}/usr/share/AAVMF/AAVMF_CODE.fd" "$(_dst_dir)/${flash_ro}"
|
||||||
dd if=/dev/zero bs=1M count=64 of="$(_dst_dir)/${flash_rw}" \
|
cp "${BOARD_ROOT}/usr/share/AAVMF/AAVMF_VARS.fd" "$(_dst_dir)/${flash_rw}"
|
||||||
status=none
|
truncate -s 64M "$(_dst_dir)/${flash_ro}"
|
||||||
cp "/build/${BOARD}/usr/share/edk2-aarch64/QEMU_EFI.fd" \
|
truncate -s 64M "$(_dst_dir)/${flash_rw}"
|
||||||
"$(_dst_dir)/${flash_ro}.work"
|
|
||||||
truncate --reference="$(_dst_dir)/${flash_rw}" \
|
|
||||||
"$(_dst_dir)/${flash_ro}.work"
|
|
||||||
mv "$(_dst_dir)/${flash_ro}.work" "$(_dst_dir)/${flash_ro}"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user