summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/image-oci-umoci.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/image-oci-umoci.inc b/classes/image-oci-umoci.inc
index 7808a68c..38917d4f 100644
--- a/classes/image-oci-umoci.inc
+++ b/classes/image-oci-umoci.inc
@@ -108,6 +108,8 @@ IMAGE_CMD:oci() {
108 # make a tar version of the image direcotry 108 # make a tar version of the image direcotry
109 if [ -n "${OCI_IMAGE_TAR_OUTPUT}" ]; then 109 if [ -n "${OCI_IMAGE_TAR_OUTPUT}" ]; then
110 tar -cf "$image_name.tar" "$image_name" 110 tar -cf "$image_name.tar" "$image_name"
111 # create a convenience symlink
112 ln -sf "$image_name.tar" "${IMAGE_BASENAME}-${OCI_IMAGE_TAG}-oci.tar"
111 fi 113 fi
112 114
113 # We could make this optional, since the bundle is directly runnable via runc 115 # We could make this optional, since the bundle is directly runnable via runc