From: Uladzimir Bely <ubely@ilbers.de>
To: isar-users@googlegroups.com
Subject: [PATCH v3 2/6] wic-img: Set weak default value for WKS_FILE
Date: Fri, 19 Nov 2021 10:14:56 +0100 [thread overview]
Message-ID: <20211119091500.12341-3-ubely@ilbers.de> (raw)
In-Reply-To: <20211119091500.12341-1-ubely@ilbers.de>
In case user lists "wic-img" in IMAGE_TYPE variable, bitbake fails
at early parsing stages because WKS_FILE is not defined at this
moment.
Signed-off-by: Uladzimir Bely <ubely@ilbers.de>
---
meta/classes/wic-img.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/wic-img.bbclass b/meta/classes/wic-img.bbclass
index caad1b1f..7332e955 100644
--- a/meta/classes/wic-img.bbclass
+++ b/meta/classes/wic-img.bbclass
@@ -6,6 +6,8 @@
WKS_FILE_CHECKSUM = "${@'${WKS_FULL_PATH}:%s' % os.path.exists('${WKS_FULL_PATH}')}"
+WKS_FILE ??= "sdimage-efi"
+
do_copy_wks_template[file-checksums] += "${WKS_FILE_CHECKSUM}"
do_copy_wks_template () {
cp -f '${WKS_TEMPLATE_PATH}' '${WORKDIR}/${WKS_TEMPLATE_FILE}'
--
2.20.1
next prev parent reply other threads:[~2021-11-19 9:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-19 9:14 [PATCH v3 0/6] Support multiple image types in one build Uladzimir Bely
2021-11-19 9:14 ` [PATCH v3 1/6] image: Support multiple image types in WORKDIR and STAMPS Uladzimir Bely
2021-11-19 9:14 ` Uladzimir Bely [this message]
2021-11-19 9:14 ` [PATCH v3 3/6] start_vm: Use the first image type to start VM Uladzimir Bely
2021-11-19 9:14 ` [PATCH v3 4/6] multiconfig: Add ext4-img type to qemuamd64-buster multiconfig Uladzimir Bely
2021-11-19 9:14 ` [PATCH v3 5/6] doc: Update docs to fit new IMAGE_TYPE meaning Uladzimir Bely
2021-11-19 9:15 ` [PATCH v3 6/6] api: Rename IMAGE_TYPE to IMAGE_FSTYPES Uladzimir Bely
2021-12-01 13:24 ` [PATCH v3 0/6] Support multiple image types in one build Anton Mikanovich
-- strict thread matches above, loose matches on Subject: below --
2021-11-19 9:09 [PATCH v3 0/6] Uladzimir Bely
2021-11-19 9:09 ` [PATCH v3 2/6] wic-img: Set weak default value for WKS_FILE 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=20211119091500.12341-3-ubely@ilbers.de \
--to=ubely@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