thanks for the quick reply.
Indeed ${DEPLOY_DIR_IMAGE} is what I've been looking for.
I now have a recipe that deploys my generated sw-versions file to ${DEPLOY_DIR_IMAGE} and in my image recipe I added it to ${SWUPDATE_IMAGES}:
SWUPDATE_IMAGES += "sw-versions"
For me, the documentation in https://sbabic.github.io/swupdate/building-with-yocto.html#the-swupdate-class was not clear that you can add literally anything to ${SWUPDATE_IMAGES} - not just images - as long as it is in ${DEPLOY_DIR_IMAGE}.
I'd be happy to contribute a patch to documentation - if you think that it makes sense.
Best regards,
Tobias
________________________________________
Von: Stefano Babic <stefan...@swupdate.org>
Gesendet: Freitag, 4. April 2025 17:38
An: Klinke, Tobias Alexander <tobiasalexa...@draeger.com>; swup...@googlegroups.com <swup...@googlegroups.com>
Betreff: [External] Re: [swupdate] How to support patching files from SRC_URI before adding to cpio archive