Files
reterminal-dm4/chromium-setup/emmc-provisioning/cloud-init/config-files
..

Config files for first-boot (file server)

first-boot.sh downloads these from FILE_SERVER (e.g. http://10.130.60.141:5000/files/first-boot) and installs them to the paths below. Upload each file into the first-boot subfolder of portal-files (e.g. /var/lib/cm4-provisioning/portal-files/first-boot/).

File on server Destination on device
99-wallpaper.conf /etc/lightdm/lightdm.conf.d/99-wallpaper.conf
99-default-session.conf /etc/lightdm/lightdm.conf.d/99-default-session.conf (rpd-labwc)
maliit-keyboard.desktop /home/pi/.config/autostart/maliit-keyboard.desktop
set-rotation-once.desktop /home/pi/.config/autostart/set-rotation-once.desktop (with set-rotation-once.sh)

Wallpaper is set once during first-boot by creating ~/.config/labwc/autostart with swaybg; no set-wallpaper-once one-shot.