mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
image-oci-umoci: add convenience symlink to latest image
Symlink the date-time based image name, to just the imagename-oci. This makes scripting use of the deployed container much simpler. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
c5ed5aa1e5
commit
4254c4a732
|
@ -112,4 +112,6 @@ IMAGE_CMD:oci() {
|
||||||
|
|
||||||
# We could make this optional, since the bundle is directly runnable via runc
|
# We could make this optional, since the bundle is directly runnable via runc
|
||||||
rm -rf $image_bundle_name
|
rm -rf $image_bundle_name
|
||||||
|
|
||||||
|
ln -sf $image_name ${IMAGE_BASENAME}-${OCI_IMAGE_TAG}-oci
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user