meta-digi/meta-digi-dey/recipes-core/recovery/recovery-initramfs
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
..
automount_block.sh recovery-initramfs-init: remove parted dependency 2017-08-29 18:15:43 +02:00
automount_mtd.sh recovery init: detach 'update' MTD device from UBI if volume is not found 2017-03-22 15:03:24 +01:00
automount_ubi.sh recovery-initramfs: add script and mdev rule for UBI volumes 2023-01-17 16:50:11 +01:00
mdev.conf recovery-initramfs: add script and mdev rule for UBI volumes 2023-01-17 16:50:11 +01:00
mount_cryptrootfs.sh swu-images: fix support to preinstallation script in swu update package 2021-11-08 08:39:18 +01:00
recovery-initramfs-init recovery-initramfs: adapt format_ubi_volume() to new partition layout of ccmp1 2023-09-01 17:16:54 +02:00