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: 7e2996c1f5 ("release: install wireless firmware onto disc1 and dvd")
MFC after: 1 minute
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user