Hi,
I wanted to migrate from Mender 3.5 to 4.0 on kirkstone and noticed that the artifact verify key was not installed to /etc/mender
. I think the reason is that the file is not assigned to the new mender-update
package. Instead, bitbake creates a new package mender
which gets not installed into the rootfs. I solved this by assigning the file to the mender-update
package manually in the mender_%.bbappend
:
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI:append = " file://artifact-verify-key.pem"
FILES:mender-update += "${sysconfdir}/mender/artifact-verify-key.pem"
I think this should be either fixed or documented.