From 1a7ef84935391ae47c873b17f9d45fc85e49d8a3 Mon Sep 17 00:00:00 2001 From: Sam & Claude Date: Wed, 13 May 2026 18:32:55 +0200 Subject: [PATCH] Disable stock text installer on live image --- build.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.sh b/build.sh index d0ef5c4c..55ee93a6 100755 --- a/build.sh +++ b/build.sh @@ -423,6 +423,14 @@ configure_live_installer_session() { install -m 0755 "${LIVE_SESSION_DIR}/clawdie-live-commit.sh" \ "${MOUNT_POINT}/usr/local/bin/clawdie-live-commit.sh" + # The stock FreeBSD memstick starts bsdinstall from /etc/rc.local before + # our graphical live session can own the install flow. Preserve a copy for + # debugging, but disable the automatic text installer. + if [ -f "${MOUNT_POINT}/etc/rc.local" ]; then + cp "${MOUNT_POINT}/etc/rc.local" "${MOUNT_POINT}/etc/rc.local.freebsd-installer" + rm -f "${MOUNT_POINT}/etc/rc.local" + fi + mkdir -p "${MOUNT_POINT}/usr/local/etc/lightdm/lightdm.conf.d" install -m 0644 "${LIVE_SESSION_DIR}/lightdm-live.conf" \ "${MOUNT_POINT}/usr/local/etc/lightdm/lightdm.conf.d/50-clawdie-live.conf"