git: 95223d920aea - releng/14.3 - bsdinstall: Use a login shell for final configuration.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 14 May 2025 18:08:17 UTC
The branch releng/14.3 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=95223d920aea7dd3711040304b013f96b568cdb3 commit 95223d920aea7dd3711040304b013f96b568cdb3 Author: Dag-Erling Smørgrav <des@FreeBSD.org> AuthorDate: 2025-05-11 21:00:35 +0000 Commit: Dag-Erling Smørgrav <des@FreeBSD.org> CommitDate: 2025-05-14 18:08:15 +0000 bsdinstall: Use a login shell for final configuration. If the user accepts our offer of a shell to perform final configuration tasks before rebooting, start a login shell. This ensures it will have the correct PATH and be able to install packages without issues. Approved by: re (cperciva) PR: 286722 MFC after: 3 days Reviewed by: jrtc27, allanjude, emaste Differential Revision: https://reviews.freebsd.org/D50297 (cherry picked from commit 5870d6a1ef4ec5d6fc91d0f1635bca59e09a040d) (cherry picked from commit 242b52ba3c38108f2c2af4194a031ed495b95dbc) --- usr.sbin/bsdinstall/scripts/auto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bsdinstall/scripts/auto b/usr.sbin/bsdinstall/scripts/auto index 6a89b3dfdd81..abd445282316 100755 --- a/usr.sbin/bsdinstall/scripts/auto +++ b/usr.sbin/bsdinstall/scripts/auto @@ -443,7 +443,7 @@ if [ -z "$BSDINSTALL_SKIP_MANUAL" ]; then clear echo This shell is operating in a chroot in the new system. \ When finished making configuration changes, type \"exit\". - chroot "$BSDINSTALL_CHROOT" /bin/sh 2>&1 + chroot "$BSDINSTALL_CHROOT" /bin/sh -l 2>&1 fi fi