From 30d0b7add73795b22394a2c9dd4bbb6f11c629b3 Mon Sep 17 00:00:00 2001 From: Archana Shinde Date: Tue, 24 Sep 2019 15:53:43 -0700 Subject: [PATCH] annotations: Add missing firmware and hashes to asset annotations These annotations were missing from the list of what are considered as assets. Add these to existing list. Signed-off-by: Archana Shinde --- virtcontainers/pkg/oci/utils.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/virtcontainers/pkg/oci/utils.go b/virtcontainers/pkg/oci/utils.go index 7419239459..a267b5b735 100644 --- a/virtcontainers/pkg/oci/utils.go +++ b/virtcontainers/pkg/oci/utils.go @@ -326,8 +326,11 @@ func addAssetAnnotations(ocispec specs.Spec, config *vc.SandboxConfig) { vcAnnotations.KernelPath, vcAnnotations.ImagePath, vcAnnotations.InitrdPath, + vcAnnotations.FirmwarePath, vcAnnotations.KernelHash, vcAnnotations.ImageHash, + vcAnnotations.InitrdHash, + vcAnnotations.FirmwareHash, vcAnnotations.AssetHashType, }