Files
winf-photobooth/board/qemu/aarch64-sbsa/assemble-flash-images
Michael b8783708ae Initial Commit
- initial default booting image
2026-11-06 20:45:42 +01:00

12 lines
274 B
Bash
Executable File

#!/bin/bash
set -e
BOARD_DIR="$(dirname $0)"
cp -f ${BOARD_DIR}/grub.cfg ${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg
# The QEMU sbsa machine expects flash devices to be 256M.
truncate -s 256M ${BINARIES_DIR}/SBSA_FLASH0.fd
truncate -s 256M ${BINARIES_DIR}/SBSA_FLASH1.fd