Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2024 06:13:29 GMT
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e8263ace39c8 - main - release: Don't break if firmware install fails
Message-ID:  <202411210613.4AL6DTB1076660@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cperciva:

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

commit e8263ace39c8ecf11233c0a10d0b1839e6813046
Author:     Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2024-11-21 06:10:28 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2024-11-21 06:13:24 +0000

    release: Don't break if firmware install fails
    
    On some platforms (e.g. powerpc) we don't have packages, so we can't
    install them onto the ISOs.  Proceed with building the images anyway.
    
    Reported by:    Weekly snapshot builds
    Fixes:  7e2996c1f5b4 ("release: install wireless firmware onto disc1 and dvd")
    MFC after:      1 minute
---
 release/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/release/Makefile b/release/Makefile
index 9d5b64dae271..a99486ea4b84 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -193,7 +193,7 @@ disc1: packagesystem
 .endif
 .if ${.MAKE.OS} == "FreeBSD" && (!defined(NOPKG) || empty(NOPKG))
 # Install packages onto release media.
-	${PKG_INSTALL} wifi-firmware-kmod-release
+	${PKG_INSTALL} wifi-firmware-kmod-release || true
 .endif
 # Set up installation environment
 	ln -fs /tmp/bsdinstall_etc/resolv.conf ${.TARGET}/etc/resolv.conf
@@ -269,7 +269,7 @@ dvd: packagesystem
 .endif
 .if ${.MAKE.OS} == "FreeBSD" && (!defined(NOPKG) || empty(NOPKG))
 # Install packages onto release media.
-	${PKG_INSTALL} wifi-firmware-kmod-release
+	${PKG_INSTALL} wifi-firmware-kmod-release || true
 .endif
 # Set up installation environment
 	ln -fs /tmp/bsdinstall_etc/resolv.conf ${.TARGET}/etc/resolv.conf



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