I own a cocktail-style arcade cabinet that runs a customized version of MAME on a Raspberry Pi 4 Model B computer.
The init-arcade.yml
playbook aims to fully configure an SD card with a freshly imaged 32-bit Raspberry Pi OS Lite for use in my arcade cabinet. The process includes creating a chroot environment to cross-compile custom software for the Raspberry Pi's ARM v8 CPU architecture. The technique for doing so was heavily inspired by Midnight Yell's blog post "Compiling MAME for the Raspberry Pi with QEMU".
The playbook runs in three phases:
- Prepare a local chroot environment
- Build custom software for the Raspberry Pi's CPU architecture
- Configure hosts in an inventory group named "
arcade_group
"