Richard Hughes
b59c82e1bd
Add support for emulating and recording devices
...
Based on patches from Frédéric Danis <frederic.danis@collabora.com>
2023-02-23 13:04:11 -06:00
Richard Hughes
2fa46d3823
Add support for Quit() in fwupdmgr
...
This allows us to only shut down the P2P daemon in the installed tests.
The easy fix would have been to use something like:
gdbus call --address unix:path=/run/fwupd.sock --object-path / --method org.freedesktop.fwupd.Quit'
...but the daemon does not implement an ObjectManager, which gdbus requires.
This worked correctly for so long because the p2p tests were being run after
the bus tests, so shutting down the system daemon had no effect.
Fedora 37 seems to have flipped the order for some reason -- and now it
*sometimes* matters that we were doing the worng thing...
2023-02-23 13:04:11 -06:00
Richard Hughes
3457715749
Allow desktop software to inhibit the system to prevent all updates
...
On edge hardware a process may want to disable firmware updates as it might be
a bad time to allow an upgrade.
2023-02-23 13:04:10 -06:00
Mario Limonciello
b7b0ce533d
trivial: Unify ambiguity between bios-attrs and bios-settings
...
These are currently used interchangeably since there was indecisiveness
which to use as the feature was being developed.
As outward facing it will be named with "settings", change all uses
in the code to match this.
2022-08-24 07:20:01 -05:00
Mario Limonciello
826983b8a7
Add support to set BIOS settings using a JSON payload
...
The JSON payload is ideally generated from `fwupdmgr get-bios-settings --json`
with all attributes expected to be included as additional arguments.
2022-08-24 09:51:46 +01:00
Mario Limonciello
088397618a
Add bash-completion for BIOS settings
2022-08-11 09:52:26 -05:00
Mario Limonciello
5ded4f44fe
Add support for reading and writing firmware attributes
...
This support is comprehensive:
* Client library support
* Daemon support
* plugin support
* Client tool support (with new commands)
2022-07-28 17:30:57 -05:00
Gaël PORTAY
2cc5449ae8
trivial: Use bash-completion facilities to get arguments
2022-06-20 12:57:40 -04:00
Gaël PORTAY
c8987ab100
trivial: Allow mixing modifiers/parameters in bash-completion scripts
2022-06-20 12:57:40 -04:00
Gaël PORTAY
5bdbf0dd0a
trivial: Add missing comments in bash-completion scripts
...
For the sake of consistency.
2022-06-20 12:57:40 -04:00
Richard Hughes
63f2e9ee28
Allow 'fwupdmgr install' to install a specified firmware version
...
This also moves the 'local-install' action to a new verb, although we
fall back for compatibility.
Fixes https://github.com/fwupd/fwupd/issues/4514
2022-04-12 19:53:38 +01:00
Richard Hughes
02d8753097
Move the clear-history command to fwupdtool
...
This is perhaps a useful thing to do when debugging, but isn't the sort
of thing we need users to understand.
2022-01-21 15:25:05 +00:00
Richard Hughes
ffac7d6024
Merge the little-used clear-offline action into clear-results
...
Fixes https://github.com/fwupd/fwupd/issues/3581
2022-01-21 15:25:05 +00:00
Crag Wang
fbcc031ae4
trivial: refresh bash completion to reflect recent changes
2022-01-17 13:41:20 -06:00
Richard Hughes
747f570310
Allow filtering devices when using the command line tools
2019-08-06 20:59:28 +01:00
Mario Limonciello
bfcf75b7a6
Allow fwupdmgr to modify the daemon config
...
This allows several things, for instance:
* Adding or removing blacklisted plugins or devices
* Changing the idle timeout where allowed
...without a user needing to manually modify a configuration file.
2019-04-17 12:12:13 -04:00
Richard Hughes
4ffc14f6ea
Allow signing the fwupd report with the client certificate
2019-03-11 13:57:39 +00:00
Richard Hughes
4499d19ba3
Move out the offline update functionality to a new binary
...
The offline updates environment is special, and we have to be careful to delete
the trigger before doing anything that can fail to avoid boot loops.
For this reason, split it out to a simple self-contained binary that is easy to
understand.
2019-03-08 09:45:30 -06:00
Richard Hughes
8dd4c1c4dd
Allow restricting firmware updates for enterprise use
2019-03-05 19:05:07 +00:00
Mario Limonciello
96a0dd5606
Add a support for delayed activation
...
This is intended for devices that it is not safe to immediately activate
the firmware. It may be called at a more convenient time instead.
Both fwupdmgr and fwupdtool support the feature.
- if called at runtime with fwupdmgr it uses the daemon
- during shutdown fwupdtool uses the pending.db to perform this feature.
2019-02-27 09:04:54 +00:00
Mario Limonciello
62f8486ffe
fwupdmgr/fwupdtool: Move monitor command to fwupdtool
...
This command is used for monitoring events from the daemon and normally
used only by power users or developers.
2018-10-18 19:36:59 +01:00
Mario Limonciello
f6d01b16de
fwupdmgr/fwupdtool: Move firmware builder from fwupdmgr to fwupdtool
...
This command is really a power user command and should live in
fwupdtool with similar debugging and development features.
2018-10-18 19:36:59 +01:00
Richard Hughes
1d894f13cc
trivial: Move the hwids debug functionality to fwupdtool
2018-08-31 16:39:09 +01:00
Mario Limonciello
e0294c77d6
trivial: Drop removed smbios-dump command for fwupdmgr bash completion
2018-05-22 05:44:52 +01:00
Richard Hughes
76e0f94c86
Allow the client tools to avoid writing the history database
2018-05-14 18:54:15 +01:00
Mario Limonciello
78956cc9ff
fwupdmgr: Hide devices that aren't updatable by default
...
They are hidden from get-devices, get-updates, and get-topology
They can be viewed by adding '--show-all-devices' to command line
2018-05-07 14:08:39 -05:00
Richard Hughes
42728c4d5e
Add 'fwupdmgr get-topology' to show logical device tree
2018-05-03 08:07:04 +01:00
Richard Hughes
9e7d69ccb1
Show a warning with interactive prompt when enabling a remote
2018-04-12 08:17:08 +01:00
Richard Hughes
dfd228a132
Add enable-remote and disable-remote commands to fwupdmgr
...
This makes it easier to enable the LVFS on distributions where it is disabled
by default.
2018-04-12 08:17:08 +01:00
Mario Limonciello
c8d15f924c
Show device description when bash completing an argument
2018-03-01 09:27:29 -06:00
Mario Limonciello
ce5ed9ce58
Add bash completion for fwupdmgr
2018-02-28 06:40:59 -06:00