meta-digi/meta-digi-dey/recipes-core/recovery
Hector Palacios e9aac1b489 swupdate: install a default config file with optional public-key-file
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>
2023-12-01 10:55:05 +01:00
..
recovery-initramfs swupdate: install a default config file with optional public-key-file 2023-12-01 10:55:05 +01:00
recovery-utils/recovery-utils recovery: add support to update a specific image set 2022-11-23 17:19:05 +01:00
recovery-initramfs.bb swupdate: install a default config file with optional public-key-file 2023-12-01 10:55:05 +01:00
recovery-utils.bb gatesgarth migration: Convert u-boot-fw-utils dependencies to libubootenv dependencies 2021-05-05 19:18:11 +02:00