mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-28 07:18:28 +00:00

Fixes Debian bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921820 Introduce a new --log option to fwupdmgr that will log stdout to an argument. If run under systemd, prefix that argument with $RUNTIME_DIRECTORY. Add a new systemd unit and associated timer to regularly refresh metadata. After the metadata refresh is complete, save the output to the motd location. The timer and service are disabled by default and can be enabled by an admin.
530 B
530 B
Message of the day integration
Message on the day integration is used to display the availability of updates when connecting to a remote console.
It has two elements:
- Automatic firmware metadata refresh
- Message of the day display
Automatic firmware metadata refresh
This uses a systemd timer to run on a regular cadence. To enable this, run
# systemctl enable fwupd-refresh.timer
Motd display
Motd display is dependent upon the availability of the update-motd snippet consumption service such as pam_motd.