git: 9f0b953443b7 - stable/14 - lualoader: Add distinct brand for installer
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 28 Jan 2026 01:05:30 UTC
The branch stable/14 has been updated by jrm:
URL: https://cgit.FreeBSD.org/src/commit/?id=9f0b953443b7dd7f33b8a461651c9d9ed2912d46
commit 9f0b953443b7dd7f33b8a461651c9d9ed2912d46
Author: Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2025-06-23 20:47:20 +0000
Commit: Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2026-01-28 01:03:36 +0000
lualoader: Add distinct brand for installer
Make it obvious to users that the system is booting into the installer.
Reviewed by: kevans, manu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51001
(cherry picked from commit ac7a19d41ee5eb1271c46fbc620b2f98dffa2230)
---
release/Makefile | 3 +++
stand/images/Makefile | 3 ++-
stand/images/freebsd-install-brand-rev.png | Bin 0 -> 7724 bytes
stand/lua/Makefile | 1 +
stand/lua/gfx-install.lua | 24 ++++++++++++++++++++++++
5 files changed, 30 insertions(+), 1 deletion(-)
diff --git a/release/Makefile b/release/Makefile
index d52171f955b2..d71449fa78bc 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -206,6 +206,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_brand=\"install\" >> ${.TARGET}/boot/loader.conf
echo loader_menu_multi_user_prompt=\"Installer\" >> ${.TARGET}/boot/loader.conf
cp ${.CURDIR}/rc.local ${.TARGET}/etc
.if defined(NO_ROOT)
@@ -245,6 +246,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_brand=\"install\" >> ${.TARGET}/boot/loader.conf
echo loader_menu_multi_user_prompt=\"Installer\" >> ${.TARGET}/boot/loader.conf
cp ${.CURDIR}/rc.local ${.TARGET}/etc
.if defined(NO_ROOT)
@@ -281,6 +283,7 @@ dvd: packagesystem
ln -fs /tmp/bsdinstall_etc/resolv.conf ${.TARGET}/etc/resolv.conf
echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
echo vfs.mountroot.timeout=\"10\" >> ${.TARGET}/boot/loader.conf
+ echo loader_brand=\"install\" >> ${.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
diff --git a/stand/images/Makefile b/stand/images/Makefile
index 44d2faf36e5f..47c70629ed51 100644
--- a/stand/images/Makefile
+++ b/stand/images/Makefile
@@ -1,7 +1,8 @@
.include <bsd.init.mk>
-FILES+= freebsd-brand-rev.png freebsd-brand.png freebsd-logo-rev.png
+FILES+= freebsd-brand-rev.png freebsd-brand.png freebsd-install-brand-rev.png \
+ freebsd-logo-rev.png
FILESDIR= /boot/images
diff --git a/stand/images/freebsd-install-brand-rev.png b/stand/images/freebsd-install-brand-rev.png
new file mode 100644
index 000000000000..59d173d3f8b3
Binary files /dev/null and b/stand/images/freebsd-install-brand-rev.png differ
diff --git a/stand/lua/Makefile b/stand/lua/Makefile
index 4462a803beef..f44bf682e25b 100644
--- a/stand/lua/Makefile
+++ b/stand/lua/Makefile
@@ -25,6 +25,7 @@ FILES= cli.lua \
gfx-beastie.lua \
gfx-beastiebw.lua \
gfx-fbsdbw.lua \
+ gfx-install.lua \
gfx-orb.lua \
gfx-orbbw.lua \
menu.lua \
diff --git a/stand/lua/gfx-install.lua b/stand/lua/gfx-install.lua
new file mode 100644
index 000000000000..d4cd34e32e1e
--- /dev/null
+++ b/stand/lua/gfx-install.lua
@@ -0,0 +1,24 @@
+--
+-- Copyright (c) 2025 Joseph Mingrone <jrm@FreeBSD.org>
+--
+-- SPDX-License-Identifier: BSD-2-Clause
+--
+
+return {
+ brand = {
+ ascii = {
+ image = {
+ " _____ ____ ____ ____ ___ _ _ _",
+ "| ___| __ ___ ___| __ ) ___|| _ \\ |_ _|_ __ ___| |_ __ _| | | ___ _ __",
+ "| |_ | '__/ _ \\/ _ \\ _ \\___ \\| | | | | || '_ \\/ __| __/ _` | | |/ _ \\ '__|",
+ "| _|| | | __/ __/ |_) |__) | |_| | | || | | \\__ \\ || (_| | | | __/ |",
+ "|_| |_| \\___|\\___|____/____/|____/ |___|_| |_|___/\\__\\__,_|_|_|\\___|_|",
+ },
+ requires_color = false,
+ },
+ fb = {
+ image = "/boot/images/freebsd-install-brand-rev.png",
+ width = 80,
+ },
+ }
+}