mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
image-oci-sloci: add convenience symlinks in deploy
To sync the sloci OCI image backend with the umoci variant, create shortened convenience symlinks for the image and image.tar in the deploy directory. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
c66e392d8e
commit
2aea6f9ab3
|
@ -64,4 +64,11 @@ IMAGE_CMD:oci() {
|
|||
${oci_image_working_dir_options} \
|
||||
${oci_image_port_options} \
|
||||
${IMAGE_ROOTFS} ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}-oci:${OCI_IMAGE_TAG}
|
||||
|
||||
# create a convenience symlink
|
||||
ln -sf ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}-oci ${IMAGE_BASENAME}-${OCI_IMAGE_TAG}-oci
|
||||
|
||||
if [ -n "${OCI_IMAGE_TAR_OUTPUT}" ]; then
|
||||
ln -sf ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}-oci-${OCI_IMAGE_TAG}-${OCI_IMAGE_ARCH}-linux.oci-image.tar ${IMAGE_BASENAME}-${OCI_IMAGE_TAG}-oci.tar
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user