summaryrefslogtreecommitdiff
path: root/usr.sbin/fw_update
AgeCommit message (Collapse)Author
2022-03-10Inform fw_update(8) about mtw(4) pattern.hastings
ok jsg@
2022-03-09spelling/wordingJonathan Gray
ok afresh1@
2022-02-20Only use /snapshots dir when -currentAndrew Fresh
Not during release, -stable, or -beta. This diverges from how packages work and how things were done in the past where -beta also looked in /snapshots. Discussed in icb. OK deraadt@
2022-02-20Remove downloaded SHA256.sig if signature validation failsAndrew Fresh
Without the "noclobber" setting we would have overwitten with an empty file and best not to leave a failed file around. Noticed by florian@
2022-02-20Show summary even if no firmware are detected or installedAndrew Fresh
OK florian@
2022-02-19Ignore sitelib in perl snippetAndrew Fresh
All base tools should be doing that and I forgot. While here remove the no longer necessary TERM handler, it was only needed so a TERM signal would still trigger the END block.
2022-02-15make use of pkg_* infra simplificationsMarc Espie
okay afresh1@
2022-02-11Lock the pkg db while runningAndrew Fresh
At least when not running in the installer. Suggestions from espie@ Works for me sthen@ fine deraadt@
2022-02-10Don't unregister firmware if we can't fetch the SHA256.sigAndrew Fresh
Also avoid trying to download it multiple times if it fails, which makes error reporting much nicer. Noticed by and OK semarie@
2022-01-30Localize variables used only in functionsAndrew Fresh
Somehow I missed some
2022-01-29Clean up exit codesAndrew Fresh
Being different didn't help me figure out what was going wrong anyway. Suggested by deraadt@
2022-01-29rtwn and urtwn firmware got better licenses and moved to baseAndrew Fresh
2022-01-29"Unregister" installed firmware that isn't in the SHA256.sigAndrew Fresh
We assume in this case that the firmware's license was improved and it moved to be distributed in the base system. If we find that situation remove the package registration but leave the firmware files.
2022-01-24Redownload existing files with failed checksumsAndrew Fresh
2022-01-22Support multiple -v as promised in the man pageAndrew Fresh
There are now four levels of verbosity: 0. Prints only the summary 1. Prints a line when installing/removing 2. Uses the ftp(1) progress bar 3. Provides more details for debugging With some excellent ksh knowledge provided by kn@
2022-01-12Bug fixes and performance improvementsAndrew Fresh
Plus improving usage to match the man page fine deraadt@
2022-01-11Tidy up some commentsAndrew Fresh
requested by deraadt@
2022-01-08Don't download SHA256.sig unless it's neededAndrew Fresh
This allows installing local files without network. it *might* work now deraadt@
2022-01-07whitespaceAndrew Fresh
2022-01-06repair usageTheo de Raadt
2022-01-06Switch fw_update -D to instead -FAndrew Fresh
The perl version of fw_update used -D for something else and although the mneumonic isn't as good, the conflict was worse. Requested by deraadt@
2022-01-06Make it possible to compile the patterns utility with the source treeAnton Lindqvist
checked out anywhere. While here, tidy up the Makefile a bit. ok deraadt@
2022-01-05Commit the correct version of fw_updateAndrew Fresh
Sigh.
2022-01-05Add the shell based fw_update and updated man pageAndrew Fresh
This allows installing firmware from the installer without having to wait to boot into a live system. commit deraadt@
2022-01-05We are moving back to a shell-script based fw_update, written in such aTheo de Raadt
way that the install script can also run it. This allows earlier retrieval of downloaded firmwares, based upon patterns found in dmesg. many iterations of this in snaps for about a month.
2015-01-23Killing my darling. Functionality and binary name moved to pkg_* andAlexander Hall
friends. So long and thanks for all the fish. ok deraadt@
2014-02-23- add a -p <path> switch for specifying the location ofAlexander Hall
firmware packages - reword 'firmware files' to 'firmware' - pick some style and whitespace nits ok deraadt@
2014-02-23print out the path to the firmware packages in verbose mode, for use withAlexander Hall
the upcoming -p <path> flag
2014-02-23Document where firmwares come from, as step 1 of dealing with off-lineTheo de Raadt
some firmware retrieval issues I discovered. ok espie halex
2014-02-04various minor fixes; ok halexJason McIntyre
2014-01-30add a -d flag to remove the specified firmware packagesAlexander Hall
ok espie@
2014-01-03explicitly tells pkg_add we're fw_update, will have some nice side-effectsMarc Espie
later. okay deraadt@
2013-10-18don't silence stderr from pkg_add when running in verbose modeAlexander Hall
suggested by Alexander Holupirek ok rpe@
2013-08-21zap trailing whitespace;Jason McIntyre
2013-08-20use a single line in usage() and SYNOPSIS and explain in text whichAlexander Hall
combinations are not allowed discussed with jmc@
2013-08-20tedu netnatm and ueagle(4).Martin Pieuchot
ok mikeb@, sthen@, tedu@ (implied), doc bits ok jmc@
2013-08-13Handle firmware for radeondrm(4).Mark Kettenis
pointed out by jasper@
2013-08-13reorder SYNOPSIS to match usage()Alexander Hall
pointed out by jmc@
2013-08-13firmware is uncountable, i think we decided;Jason McIntyre
2013-08-13allow the user to specify which firmware to install, or install all ofAlexander Hall
them using the -a switch ok rpe@
2013-08-12some minor fixes; From: Jan StaryJason McIntyre
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2012-09-17simplify the detection of release/stable vs. snapshot kernel byRobert Peichaer
using the same logic from install.sub ok halex@
2012-09-05don't let pkg_add turn interactive, and waive the @ask-update questions.Marc Espie
okay sthen@ halex "you know best"... problem(s) reported by claudio@
2012-01-26closing fd 0-2 is bad practice, so dup to /dev/null insteadAlexander Hall
ok krw@
2011-10-25Reduce noice by fw_update on network errors, among othersAlexander Hall
ok deraadt@
2011-08-02clean up the 1st sentence even more. it is unbelievable how it sometimesTheo de Raadt
takes 3 people to get the first two sentences of a manual page right. ok halex jmc
2011-08-02better describe what this app does, at the behest of deraadt;Jason McIntyre
2011-08-02Say "firmware files" instead of "firmwares". It is so hard to be clearTheo de Raadt
when they are per-device packages which can containing more than one firmware files.. Shown to halex, no response
2011-07-28tweak previous;Jason McIntyre