The swupdate recipe installs by default a systemd service and a socket to listen for updates coming from a web server. DEY only makes use of such service during on-the-fly updates from Cloud Connector web service. The default swupdate service fails on images with TrustFence because it's called with no arguments and there doesn't exist a configuration file. This commit installs a default configuration file and, if TrustFence is enabled, sets the parameter 'public-key-file' to point to the public certificate to use to authenticate SWU packages. While on it, it removes the same file from the recovery-initramfs recipe that was the only recipe that was adding such config file for recovery images only. Signed-off-by: Hector Palacios <hector.palacios@digi.com> |
||
|---|---|---|
| .. | ||
| recovery-initramfs | ||
| recovery-utils/recovery-utils | ||
| recovery-initramfs.bb | ||
| recovery-utils.bb | ||