Disable stock text installer on live image
This commit is contained in:
parent
1a2d0b1d1f
commit
1a7ef84935
1 changed files with 8 additions and 0 deletions
8
build.sh
8
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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue