Page MenuHomeFreeBSD

D50941.id157375.diff
No OneTemporary

D50941.id157375.diff

Index: usr.sbin/bsdinstall/scripts/firmware
===================================================================
--- usr.sbin/bsdinstall/scripts/firmware
+++ usr.sbin/bsdinstall/scripts/firmware
@@ -115,11 +115,23 @@
${DIALOG} --title "$DIALOG_TITLE" --backtitle "$DIALOG_BACKTITLE" \
--infobox "Installing firmware. This may take a moment." 0 0
+pkg_install_fail=
# Install each of the selected firmware packages
for fw in ${selected}; do
# We install one at a time in case one is not avail.
# pkg-install.8 needs an option to skip unavail.
ASSUME_ALWAYS_YES=YES chroot $BSDINSTALL_CHROOT pkg install -qy ${fw}
+ if [ $? -ne 0 ]; then
+ pkg_install_fail="$pkg_install_fail $fw"
+ fi
done
+if [ -n "$pkg_install_fail" ]; then
+ # Error(s) were likely spammed to the console; give the user a moment
+ # to read them.
+ sleep 5
+ bsddialog --backtitle "$OSNAME Installer" --title "Error" \
+ --msgbox "Error fetching firmware file(s)$pkg_install_fail" 0 0
+ exit 1
+fi
# end

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 8, 8:40 PM (13 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29416441
Default Alt Text
D50941.id157375.diff (995 B)

Event Timeline