Files
reterminal-dm4/emmc-provisioning/cloud-init/first-boot.conf.example
nearxos 25bf710c67 Remove deprecated one-shot scripts and update first-boot configuration for improved provisioning</message>
<message>Delete obsolete one-shot scripts for setting screen rotation and wallpaper, as well as related Python and shell scripts. Update the first-boot configuration to streamline the provisioning process by removing references to these scripts. This cleanup enhances maintainability and focuses on the essential steps required for the first boot experience, ensuring a more efficient setup for users.
2026-02-23 16:15:47 +02:00

47 lines
1.5 KiB
Plaintext

# first-boot.conf — REQUIRED by first-boot.sh
# Copy to first-boot.conf and edit. Loaded from (first found):
# 1. same directory as first-boot.sh
# 2. /tmp/first-boot.conf (cloud-init runcmd downloads it)
# 3. /etc/cm4-provisioning/first-boot.conf
# 4. /var/lib/cm4-provisioning/first-boot.conf (persisted for phase 2)
# --- File server & host ---
FILE_SERVER="http://10.20.50.1:5000/files/first-boot"
HOSTNAME="guard"
# --- User ---
PI_USER="pi"
# --- Packages ---
PACKAGES="git chromium wmctrl openssh-server swaybg wlr-randr maliit-keyboard xinput-calibrator python3-gi python3-gi-cairo"
# --- Desktop & theme ---
LIGHTDM_SESSION="rpd-labwc"
GTK_THEME_NAME="PiXnoir"
WALLPAPER_MODE="crop"
# --- Paths ---
PLYMOUTH_DIR="/usr/share/plymouth/themes/custom"
WALLPAPER_PATH="/usr/share/rpd-wallpaper/splash.png"
# --- Display (reTerminal DM) ---
DSI_ROTATE="270"
SWIOTLB_SIZE="65536"
# --- reTerminal (Seeed) ---
RETERMINAL_DEVICE="reTerminal-DM"
RETERMINAL_REPO_URL="https://github.com/Seeed-Studio/seeed-linux-dtoverlays"
# --- One-shots ---
# Space-separated names of one-shot scripts (each needs name.sh + name.desktop on file server).
# Leave empty for none.
ONESHOT_SCRIPTS=""
# --- Step enable flags (1 = run, 0 = skip) ---
# Phase 1 (cloud-init → reboot): 01=hostname, 02=packages, 03=reterminal_drivers
# Phase 2 (after reboot → reboot): 04=kiosk_files, 05=splash_wallpaper, 06=lightdm,
# 07=maliit, 08=dark_theme, 09=reapply_splash, 10=cmdline, 11=oneshots,
# 12=log_permissions, 13=reboot
# ENABLE_STEP_08=0
# ENABLE_STEP_13=0