public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 1/2] cachability: ignore BBLAYERS in get_build_id
@ 2022-08-31 13:30 Felix Moessbauer
  2022-08-31 13:30 ` [PATCH 2/2] ignore wic tasks in isar-sstate lint Felix Moessbauer
  2022-09-08 14:07 ` [PATCH 1/2] cachability: ignore BBLAYERS in get_build_id Anton Mikanovich
  0 siblings, 2 replies; 3+ messages in thread
From: Felix Moessbauer @ 2022-08-31 13:30 UTC (permalink / raw)
  To: isar-users; +Cc: Felix Moessbauer

The get_build_id task just provides a convenience check for
issues around a missed ISAR_RELEASE_CMD.
While it uses the BBLAYERS variable internally, this does not
have any effect on a generated artifact, hence the value of the
variable can be ignored.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 meta/classes/image.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index ba2dfa87..ccff8106 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -308,6 +308,7 @@ python() {
 # this could be "git describe" or something similar.
 # set ISAR_RELEASE_CMD to customize, or override do_mark_rootfs to do something
 # completely different
+get_build_id[vardepsexclude] += "BBLAYERS"
 get_build_id() {
 	if [ $(echo ${BBLAYERS} | wc -w) -ne 2 ] &&
 	   [ "${ISAR_RELEASE_CMD}" = "${ISAR_RELEASE_CMD_DEFAULT}" ]; then
-- 
2.30.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-08 14:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-31 13:30 [PATCH 1/2] cachability: ignore BBLAYERS in get_build_id Felix Moessbauer
2022-08-31 13:30 ` [PATCH 2/2] ignore wic tasks in isar-sstate lint Felix Moessbauer
2022-09-08 14:07 ` [PATCH 1/2] cachability: ignore BBLAYERS in get_build_id Anton Mikanovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox