public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: henning.schild@siemens.com, Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH] vm-img: set layer-based template search path
Date: Tue, 28 Dec 2021 09:32:52 +0300	[thread overview]
Message-ID: <20211228063252.167853-1-amikan@ilbers.de> (raw)

To make vmware/virtualbox image recipes find template files correctly
set FILESEXTRAPATHS as "${LAYERDIR_core}/classes/vm-img:".

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 meta/classes/vm-img.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/vm-img.bbclass b/meta/classes/vm-img.bbclass
index 4258780e..4bc977b9 100644
--- a/meta/classes/vm-img.bbclass
+++ b/meta/classes/vm-img.bbclass
@@ -7,7 +7,7 @@
 inherit buildchroot
 inherit wic-img
 
-FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/vm-img:"
+FILESEXTRAPATHS_prepend := "${LAYERDIR_core}/classes/vm-img:"
 OVF_TEMPLATE_FILE ?= "vm-img-virtualbox.ovf.tmpl"
 SRC_URI += "file://${OVF_TEMPLATE_FILE}"
 
-- 
2.20.1


             reply	other threads:[~2021-12-28  6:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-28  6:32 Anton Mikanovich [this message]
2022-01-10  7:51 ` Anton Mikanovich

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=20211228063252.167853-1-amikan@ilbers.de \
    --to=amikan@ilbers.de \
    --cc=henning.schild@siemens.com \
    --cc=isar-users@googlegroups.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