Skip to contentSkip to conversation

Custom symlink in build/tmp/deploy/image/machine

DISCUSSION Joel GUITTET 1 participant 1 message Jul 26, 2024

lore
Share & tools
lore
#0 lore raw

Hello,

I have a custom image class that is generating image with extension ".my-image".
The IMAGE_CMD:my-image function I have created put this image at "${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.my-image"
I see it is deployed in build/tmp/deploy/image/machine directory, with an additional symlink so that I can use the symlink to reference the latest version built. Ok.

The custom image class now also generate a signature of this file with extension ".sig". The IMAGE_CMD:my-image function put this file at "${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.sig". I see it is deployed in build/tmp/deploy/image/machine directory, but there is no symlink created for this new file.

How is it possible to configure additional symlink to be created while deploying the image and related files ?

Thanks
Joel