diff --git a/image-recipe/_archived/build-auto-installer-iso.sh b/image-recipe/_archived/build-auto-installer-iso.sh index 34f04c97..899bb73b 100755 --- a/image-recipe/_archived/build-auto-installer-iso.sh +++ b/image-recipe/_archived/build-auto-installer-iso.sh @@ -3127,6 +3127,16 @@ Wants=tmp.mount ExecStartPre=/bin/mkdir -p /tmp CONSOLEFIX +# Raise /tmp tmpfs cap above systemd's 50%-of-RAM default — PyInstaller-based +# daemons (e.g. the Reticulum mesh daemon) self-extract to /tmp on every launch +# and leak their extraction dir on abnormal exit; combined with release-build +# staging dirs this can exhaust the default cap and starve app installs/mesh. +mkdir -p /mnt/target/etc/systemd/system/tmp.mount.d +cat > /mnt/target/etc/systemd/system/tmp.mount.d/override.conf <<'TMPSIZE' +[Mount] +Options=mode=1777,strictatime,nosuid,nodev,size=75%,nr_inodes=1m +TMPSIZE + # Auto-login on tty1 — no password prompt on console mkdir -p /mnt/target/etc/systemd/system/getty@tty1.service.d cat > /mnt/target/etc/systemd/system/getty@tty1.service.d/autologin.conf <<'AUTOLOGIN'