diff options
-rw-r--r-- | classes/image-oci-sloci-image.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/image-oci-sloci-image.inc b/classes/image-oci-sloci-image.inc index 7aef3ae4..379f6fe0 100644 --- a/classes/image-oci-sloci-image.inc +++ b/classes/image-oci-sloci-image.inc | |||
@@ -64,4 +64,11 @@ IMAGE_CMD:oci() { | |||
64 | ${oci_image_working_dir_options} \ | 64 | ${oci_image_working_dir_options} \ |
65 | ${oci_image_port_options} \ | 65 | ${oci_image_port_options} \ |
66 | ${IMAGE_ROOTFS} ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}-oci:${OCI_IMAGE_TAG} | 66 | ${IMAGE_ROOTFS} ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}-oci:${OCI_IMAGE_TAG} |
67 | |||
68 | # create a convenience symlink | ||
69 | ln -sf ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}-oci ${IMAGE_BASENAME}-${OCI_IMAGE_TAG}-oci | ||
70 | |||
71 | if [ -n "${OCI_IMAGE_TAR_OUTPUT}" ]; then | ||
72 | 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 | ||
73 | fi | ||
67 | } | 74 | } |