public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH 1/2] meta: Add missing COREBASE variable
Date: Thu, 14 Nov 2024 15:48:28 +0200	[thread overview]
Message-ID: <20241114134829.1466035-2-amikan@ilbers.de> (raw)
In-Reply-To: <20241114134829.1466035-1-amikan@ilbers.de>

This variable specifies the parent directory of meta layer and was used
in bitbake and Isar code without being initialized.
Setting this variable will fix the usage of WKS_FILES from default WIC.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 meta/conf/layer.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index b622ce69..15f01233 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -19,3 +19,6 @@ LAYERVERSION_core = "1"
 LAYERSERIES_COMPAT_core = "v0.6"
 
 LAYERDIR_core = "${LAYERDIR}"
+
+# Set a variable to get to the top of the metadata location
+COREBASE = '${@os.path.normpath("${LAYERDIR}/../")}'
-- 
2.34.1

-- 
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/20241114134829.1466035-2-amikan%40ilbers.de.

  reply	other threads:[~2024-11-14 13:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-14 13:48 [PATCH 0/2] Set reasonable defaults for WKS_FILE value Anton Mikanovich
2024-11-14 13:48 ` Anton Mikanovich [this message]
2024-11-14 13:48 ` [PATCH 2/2] wic: Set default WKS_FILE for non efi targets Anton Mikanovich
2025-01-17 13:05   ` 'Jan Kiszka' via isar-users
2025-01-17 13:45     ` Anton Mikanovich
2024-11-21  6:49 ` [PATCH 0/2] Set reasonable defaults for WKS_FILE value 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=20241114134829.1466035-2-amikan@ilbers.de \
    --to=amikan@ilbers.de \
    --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