mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
Replace edk2 with own edk2-aarch64
This commit is contained in:
parent
9612f23986
commit
29507964be
@ -722,11 +722,11 @@ _write_qemu_uefi_conf() {
|
||||
arm64-usr)
|
||||
# Get edk2 files into local build workspace.
|
||||
info "Updating edk2 in /build/${BOARD}"
|
||||
emerge-${BOARD} --nodeps --select -qugKN sys-firmware/edk2
|
||||
emerge-${BOARD} --nodeps --select -qugN sys-firmware/edk2-aarch64
|
||||
# Create 64MiB flash device image files.
|
||||
dd if=/dev/zero bs=1M count=64 of="$(_dst_dir)/${flash_rw}" \
|
||||
status=none
|
||||
cp "/build/${BOARD}/usr/share/edk2/QEMU_EFI.fd" \
|
||||
cp "/build/${BOARD}/usr/share/edk2-aarch64/QEMU_EFI.fd" \
|
||||
"$(_dst_dir)/${flash_ro}.work"
|
||||
truncate --reference="$(_dst_dir)/${flash_rw}" \
|
||||
"$(_dst_dir)/${flash_ro}.work"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user