Page MenuHomeFreeBSD

bsdinstall: Report error from installing firmware
ClosedPublic

Authored by emaste on Jun 19 2025, 4:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 13, 3:24 AM
Unknown Object (File)
Sat, Oct 11, 6:29 AM
Unknown Object (File)
Sat, Oct 11, 6:29 AM
Unknown Object (File)
Sat, Oct 11, 6:29 AM
Unknown Object (File)
Sat, Oct 11, 6:29 AM
Unknown Object (File)
Sat, Oct 11, 6:29 AM
Unknown Object (File)
Fri, Oct 10, 11:13 PM
Unknown Object (File)
Tue, Oct 7, 3:39 AM

Details

Summary
Event:          Kitchener-Waterloo Hackathon 202506
Sponsored by:   The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste added inline comments.
usr.sbin/bsdinstall/scripts/firmware
131

Open to suggestions of better ways to handle this, but hopefully this is at least a small step forward

usr.sbin/bsdinstall/scripts/firmware
131

Isn't there a "press enter to continue" command? 5 is a lot when you've had enough coffee/seen it before.

fix failure test if more than one fw file is in the fail list

usr.sbin/bsdinstall/scripts/firmware
131

The bsddialog below is a "press enter to continue." The problem is that the error will already have disappeared due to screen clearing.

This delay/message does not occur during regular operation so I don't think it is too much of an issue.

The alternative would be just something like

echo "Error fetching ...; press Enter"
read dummy

but our installer is already uglified by having random console spam and I'd rather not perpetuate that

allanjude added a subscriber: allanjude.

I wonder if the -q ends up hiding too much useful context for the error, but better to avoid the console spam in the happy case.

This revision is now accepted and ready to land.Jun 24 2025, 6:27 PM