Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2023 21:06:43 GMT
From:      Jessica Clarke <jrtc27@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 2999e5315171 - stable/13 - release: Set loader_menu_multi_user_prompt to "Installer" for installer
Message-ID:  <202308012106.371L6hs7013759@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jrtc27:

URL: https://cgit.FreeBSD.org/src/commit/?id=2999e531517147d5bbe817d3945a6f1f51ff753f

commit 2999e531517147d5bbe817d3945a6f1f51ff753f
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2022-09-02 19:30:50 +0000
Commit:     Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2023-08-01 20:42:52 +0000

    release: Set loader_menu_multi_user_prompt to "Installer" for installer
    
    This makes it more obvious that the media being booted is an installer
    rather than an installed system, which is otherwise hard to distinguish.
    It also provides a more user-friendly, and more accurate, prompt.
    
    Reviewed by:    gjb
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D36419
    
    (cherry picked from commit 2a90c47af158625b3e28390801639c21d6d0ed2a)
---
 release/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/release/Makefile b/release/Makefile
index 1288f750441a..33616a1e0ad6 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -170,6 +170,7 @@ disc1: packagesystem
 	echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
 	echo vfs.mountroot.timeout=\"10\" >> ${.TARGET}/boot/loader.conf
 	echo kernels_autodetect=\"NO\" >> ${.TARGET}/boot/loader.conf
+	echo loader_menu_multi_user_prompt=\"Installer\" >> ${.TARGET}/boot/loader.conf
 	cp ${.CURDIR}/rc.local ${.TARGET}/etc
 	touch ${.TARGET}
 
@@ -193,6 +194,7 @@ bootonly: packagesystem
 	echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
 	echo vfs.mountroot.timeout=\"10\" >> ${.TARGET}/boot/loader.conf
 	echo kernels_autodetect=\"NO\" >> ${.TARGET}/boot/loader.conf
+	echo loader_menu_multi_user_prompt=\"Installer\" >> ${.TARGET}/boot/loader.conf
 	cp ${.CURDIR}/rc.local ${.TARGET}/etc
 
 dvd: packagesystem
@@ -213,6 +215,7 @@ dvd: packagesystem
 	echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
 	echo vfs.mountroot.timeout=\"10\" >> ${.TARGET}/boot/loader.conf
 	echo kernels_autodetect=\"NO\" >> ${.TARGET}/boot/loader.conf
+	echo loader_menu_multi_user_prompt=\"Installer\" >> ${.TARGET}/boot/loader.conf
 	cp ${.CURDIR}/rc.local ${.TARGET}/etc
 	touch ${.TARGET}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308012106.371L6hs7013759>