aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2025-07-16 13:46:34 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2025-07-20 18:07:02 +0000
commit2ee0f3c954e71888028873d85a392c710d6f0b00 (patch)
tree7830de043fae837c45b61cefcc9caf5ac22c969b
parentf40f6374f3d2cfc1a99781acd5c3252e1edfe612 (diff)
release: Install wireless firmware to bootonly media
Also install wireless firmware packages to the bootonly ISO and the mini-memstick image so users can fetch installation files over a wireless connection. Reported by: Mark Philips <mark@freebsdfoundation.org> Reviewed by: bz, emaste, imp, releng (cperciva) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D51348 (cherry picked from commit 655fcdde1aff164a3a02ad073334611117e20d4c)
-rw-r--r--release/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/release/Makefile b/release/Makefile
index d9d5d459b5bf..6be1d689000b 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -237,6 +237,10 @@ bootonly: packagesystem
echo "./usr/freebsd-dist type=dir uname=root gname=wheel mode=0755" >> ${.TARGET}/METALOG
echo "./usr/freebsd-dist/MANIFEST type=file uname=root gname=wheel mode=0644" >> ${.TARGET}/METALOG
.endif
+.if ${.MAKE.OS} == "FreeBSD" && (!defined(NOPKG) || empty(NOPKG))
+# Install packages onto release media.
+ ${PKG_INSTALL} wifi-firmware-iwlwifi-kmod wifi-firmware-rtw88-kmod || true
+.endif
# Set up installation environment
ln -fs /tmp/bsdinstall_etc/resolv.conf ${.TARGET}/etc/resolv.conf
echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf