public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "'Jan Kiszka' via isar-users" <isar-users@googlegroups.com>
To: isar-users <isar-users@googlegroups.com>
Subject: [PATCH] imagetypes_vm: Fix default of OVF_TEMPLATE_FILE
Date: Wed, 11 Dec 2024 09:26:34 +0100	[thread overview]
Message-ID: <ef7e4508-8c0f-42dd-9ba7-2d9a8c65cf5b@siemens.com> (raw)

From: Jan Kiszka <jan.kiszka@siemens.com>

When enabling the ova image type but keeping the default
OVF_TEMPLATE_FILE, lots of parsing errors will be generated because the
virtualbox file was not found so far.

See also https://gitlab.com/cip-project/cip-core/isar-cip-core/-/issues/119

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 meta/classes/imagetypes_vm.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/imagetypes_vm.bbclass b/meta/classes/imagetypes_vm.bbclass
index 4da42447..b20a8e04 100644
--- a/meta/classes/imagetypes_vm.bbclass
+++ b/meta/classes/imagetypes_vm.bbclass
@@ -5,7 +5,7 @@
 #
 
 FILESEXTRAPATHS:prepend = "${LAYERDIR_core}/recipes-core/images:"
-OVF_TEMPLATE_FILE ?= "vm-img-virtualbox.ovf.tmpl"
+OVF_TEMPLATE_FILE ?= "virtualbox/vm-img-virtualbox.ovf.tmpl"
 IMAGE_SRC_URI:ova = "file://${OVF_TEMPLATE_FILE}"
 
 IMAGE_TYPEDEP:ova = "wic"
-- 
2.43.0

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/ef7e4508-8c0f-42dd-9ba7-2d9a8c65cf5b%40siemens.com.

             reply	other threads:[~2024-12-11  8:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-11  8:26 'Jan Kiszka' via isar-users [this message]
2024-12-17  6:08 ` Uladzimir Bely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ef7e4508-8c0f-42dd-9ba7-2d9a8c65cf5b@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=jan.kiszka@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox