fwupd modules#145
Conversation
|
Ive got a little cleanup to do yet busted screenshot etc ..., but gotta jet to a wedding and i just wanted to get it iup and get some feedback |
7ac3fcf to
aa4a6ed
Compare
b8fefc5 to
be41bfc
Compare
…ture, and monitoring measurements
be41bfc to
1287241
Compare
craigcomstock
left a comment
There was a problem hiding this comment.
got as far as my comment about "what is HSI". Will take some more looks later.
| "_devices_src" string => "/var/cache/fwupd/devices.json"; | ||
| "_updates_src" string => "$(sys.statedir)/fwupd_inventory_updates.json"; | ||
| "_security_src" string => "$(sys.statedir)/fwupd_inventory_security.json"; | ||
| "_cache" string => "$(sys.statedir)/fwupd_inventory_cache"; | ||
| "_template" string => "$(this.promise_dirname)/fwupd-inventory.mustache"; |
There was a problem hiding this comment.
| "_devices_src" string => "/var/cache/fwupd/devices.json"; | |
| "_updates_src" string => "$(sys.statedir)/fwupd_inventory_updates.json"; | |
| "_security_src" string => "$(sys.statedir)/fwupd_inventory_security.json"; | |
| "_cache" string => "$(sys.statedir)/fwupd_inventory_cache"; | |
| "_template" string => "$(this.promise_dirname)/fwupd-inventory.mustache"; | |
| "_devices_src" string => "/var/cache/fwupd/devices.json"; | |
| "_updates_src" string => "$(sys.statedir)/fwupd_inventory_updates.json"; | |
| "_security_src" string => "$(sys.statedir)/fwupd_inventory_security.json"; | |
| "_cache" string => "$(sys.statedir)/fwupd_inventory_cache"; | |
| "_template" string => "$(this.promise_dirname)/fwupd-inventory.mustache"; |
Last file uses hyphen compared while the other use underscore. Maybe this was intentional?
Would it me nice to keep them all under a $(sys.statedir)/fwupd/. directory instead of the name prefix?
| # Per-device pending firmware update inventory, emitted natively | ||
| # from the updates JSON cache. Mirrors the HSI bundle idiom. |
There was a problem hiding this comment.
| # Per-device pending firmware update inventory, emitted natively | |
| # from the updates JSON cache. Mirrors the HSI bundle idiom. | |
| # Per-device pending firmware update inventory, emitted natively | |
| # from the updates JSON cache. Mirrors the HSI bundle idiom. |
| # The rollup mirrors fwupd's own algorithm: walk levels 1-4 sequentially; | ||
| # at each level, if any non-obsoleted attribute fails, stop — the result | ||
| # is the highest level that had at least one success before the walk | ||
| # stopped. Empty levels (no attributes) are skipped without advancing |
There was a problem hiding this comment.
| # stopped. Empty levels (no attributes) are skipped without advancing | |
| # stopped. Empty levels (no attributes) are skipped without advancing |
| # at or below it has a failure. Checks highest first so the | ||
| # first match wins. Mirrors fwupd's fu_security_attrs_calculate_hsi(). |
There was a problem hiding this comment.
| # at or below it has a failure. Checks highest first so the | |
| # first match wins. Mirrors fwupd's fu_security_attrs_calculate_hsi(). | |
| # at or below it has a failure. Checks highest first so the | |
| # first match wins. Mirrors fwupd's fu_security_attrs_calculate_hsi(). |
| # @brief Surface per-device pending firmware update inventory. | ||
| # | ||
| # Reads the updates JSON cache and emits one inventory entry per device | ||
| # that has a pending update. Format: |
There was a problem hiding this comment.
| # that has a pending update. Format: | |
| # that has a pending update. Format: |
| # is deleted so the update can re-evaluate after reboot. | ||
| # | ||
| # When reboot_after_update resolves true the marker is removed and | ||
| # a deferred reboot is scheduled. On systemd systems a transient |
There was a problem hiding this comment.
| # a deferred reboot is scheduled. On systemd systems a transient | |
| # a deferred reboot is scheduled. On systemd systems a transient |
| # non-systemd systems the legacy shutdown -r +1 fallback is used. | ||
| # | ||
| # --no-reboot-check suppresses the interactive "reboot now?" prompt | ||
| # that fwupdmgr emits after certain updates. It does not skip or |
There was a problem hiding this comment.
| # that fwupdmgr emits after certain updates. It does not skip or | |
| # that fwupdmgr emits after certain updates. It does not skip or |
|
|
||
| ** Allowed devices | ||
|
|
||
| A list of device name patterns (regular expressions) controlling which |
There was a problem hiding this comment.
Could mention whether the regular expressions are anchored or not
| Linux only. The =fwupd= package must be available in the system's | ||
| package repositories. | ||
|
|
||
| * Warnings |
There was a problem hiding this comment.
Maybe this section should be earlier 😉
| | Attribute | Values | | ||
| |----------------------------+-----------------------------------------------------------------| | ||
| | *Firmware update status* | =OK= -- no pending updates | | ||
| | | =UPDATES_AVAILABLE= -- one or more devices have pending updates | | ||
| | | =NO_DEVICES= -- fwupd present but no updatable devices | | ||
| | | =FWUPD_MISSING= -- fwupd is not installed | |
There was a problem hiding this comment.
| | Attribute | Values | | |
| |----------------------------+-----------------------------------------------------------------| | |
| | *Firmware update status* | =OK= -- no pending updates | | |
| | | =UPDATES_AVAILABLE= -- one or more devices have pending updates | | |
| | | =NO_DEVICES= -- fwupd present but no updatable devices | | |
| | | =FWUPD_MISSING= -- fwupd is not installed | | |
| | Attribute | Values | | |
| |----------------------------+-----------------------------------------------------------------| | |
| | *Firmware update status* | =OK= -- no pending updates | | |
| | | =UPDATES_AVAILABLE= -- one or more devices have pending updates | | |
| | | =NO_DEVICES= -- fwupd present but no updatable devices | | |
| | | =FWUPD_MISSING= -- fwupd is not installed | |
These tables can probably be quickly aligned with some formatter
No description provided.