Files
reterminal-dm4/emmc-provisioning/host
nearxos 0bbd62213c Enhance Raspberry Pi OS image handling and dashboard UI
Update the API to support streaming and decompressing of golden images in .img.xz and .img.gz formats on the fly. Modify the cloud-init build process to compress images to .img.xz for size reduction. Revise the dashboard templates to set 'desktop' as the default variant for Raspberry Pi OS builds, improving user experience and clarity in options. Update related scripts to ensure compatibility with the new image handling features.
2026-02-23 10:11:15 +02:00
..

Host-side provisioning scripts

These files run on the provisioning host (e.g. the Proxmox host where the reTerminal is connected via USB).

File Purpose
flash-emmc-on-connect.sh Runs rpiboot, detects eMMC, waits for dashboard choice (Backup/Deploy), then runs dd. Install to /opt/cm4-provisioning/.
cm4-flash-trigger.sh Started by udev when USB device 2b8e is added. Launches the flash script via systemd-run. Install to /usr/local/bin/.
90-cm4-boot-mode.rules udev rule: on USB add (vendor 2b8e), run the trigger. Install to /etc/udev/rules.d/.

See ../docs/EMMC-PROVISIONING-GUIDE.md for full setup. The deploy script copies these into place on the Proxmox host and LXC.