#
1eb3f15c |
| 05-Nov-2024 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
fwget: add -q for quiet output
Introduce -q to quieten other output (unless -v is also given).
pkg-install(8) currently has no option to allow skipping unavail packages but it will just fail. We wo
fwget: add -q for quiet output
Introduce -q to quieten other output (unless -v is also given).
pkg-install(8) currently has no option to allow skipping unavail packages but it will just fail. We would realy want to try to install as much firmware found as possible from the installer. Work around this by doing one firmware package at a time. For that it is highly helpful to be able to query (or possibly re-query) all outstanding fimrware packages. -q together with -n only shows each package to be installed one by line.
Once https://github.com/freebsd/pkg/issues/2195 will be implemented we could undo this part of the change and future changes to the installer and use the new option for pkg-install(8) there.
While here switch to getopts so -qn works and not just -q -n.
Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D47445
show more ...
|
Revision tags: release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
#
214e3e09 |
| 15-Aug-2023 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
fwget: fix installing multiple firmware files
Remove quotes around the list of packages to install. Otherwise pkg is only fed one argument which results in a non-working solution: pkg: No packages a
fwget: fix installing multiple firmware files
Remove quotes around the list of packages to install. Otherwise pkg is only fed one argument which results in a non-working solution: pkg: No packages available to install matching 'wifi-firmware-ath10k-kmod wifi-firmware-mt76-kmod wifi-firmware-ath11k-kmod' have been found in the repositories
MFC after: 10 days Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D41474
show more ...
|
#
c81495a6 |
| 07-Jul-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
fwget: Fix quoting
This kind of quoting doesn't work, no idea why shellcheck wanted this. If there is a "safer" way to "fix" this feel free to do it just test that it's working after.
Reported by:
fwget: Fix quoting
This kind of quoting doesn't work, no idea why shellcheck wanted this. If there is a "safer" way to "fix" this feel free to do it just test that it's working after.
Reported by: Kenneth Raplee <kenrap@kennethraplee.com> Sponsored by: Beckhoff Automation GmbH & Co. KG Fixes: 7ad4d94d5bf2 ("Fix some shell issues by adding quotes and replace backticks with $()")
show more ...
|
#
7ad4d94d |
| 19-Jun-2023 |
Benedict Reuschling <bcr@FreeBSD.org> |
Fix some shell issues by adding quotes and replace backticks with $()
This patch fixes the following issues reported by shellcheck: - Quote default assignments (SC2223) - Use $() instead of backtick
Fix some shell issues by adding quotes and replace backticks with $()
This patch fixes the following issues reported by shellcheck: - Quote default assignments (SC2223) - Use $() instead of backticks (SC2006) - Double quote $@ (SC2068) - Double quote variables in if-statements and other places (SC2086)
While here, fix a whitespace at one end of line instance in the license text.
Approved by: manu Differential Revision: https://reviews.freebsd.org/D40604
show more ...
|
#
624f956b |
| 14-Jun-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
fwget: Always install packages
This wasn't done before as -y wasn't added to the pkg install line.
Sponsored by: Beckhoff Automation GmbH & Co. KG
|
#
5138ffa8 |
| 12-May-2023 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
fwget: remove logging redirects
After adding addpkg() in 10aa369afd9946da18ae51b07aeadc3314fba56d the redirects are no longer needed. We can now log directly so simplify the code.
Reported by: man
fwget: remove logging redirects
After adding addpkg() in 10aa369afd9946da18ae51b07aeadc3314fba56d the redirects are no longer needed. We can now log directly so simplify the code.
Reported by: manu Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D40077
show more ...
|
#
10aa369a |
| 11-May-2023 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
fwget: simplify adding firmware images to pkg to install
Rather than using echo to return the firmware package name, call a new function (addpkg) which will also deal with (i) no leading space and (
fwget: simplify adding firmware images to pkg to install
Rather than using echo to return the firmware package name, call a new function (addpkg) which will also deal with (i) no leading space and (ii) remove duplicates (as some devices have dual-wifi-cards). In addition we won't have a line break when having multiple packages.
While here also do not call pkg(8) anymore if there is no package to install and use the correct variable to install all and not just the last found package.
Reviewed by: manu, bapt Differential Revision: https://reviews.freebsd.org/D40071
show more ...
|
#
611503c6 |
| 09-May-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
fwget: Use BSD-2-Clause instead of BSD-2-Clause-FreeBSD
Reported by: bz Sponsored by: Beckhoff Automation GmbH & Co. KG
|
#
d198b877 |
| 26-Apr-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
fwget: Introduce new utility
This script's goal is to check the system for peripherals that needs firmware and install the needed packages for them. For now it only support pci subsystem and only vi
fwget: Introduce new utility
This script's goal is to check the system for peripherals that needs firmware and install the needed packages for them. For now it only support pci subsystem and only video classes for AMD and Intel GPUs.
Reviewed by: bapt Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D39825
show more ...
|