All of lore.kernel.org
 help / color / mirror / Atom feed
* How to force BitBake to track dependency to METADATA_REVISION?
@ 2016-05-05 18:48 Kucharczyk, Bartlomiej (Nokia - PL/Wroclaw)
  2016-05-05 23:08 ` Christopher Larson
  0 siblings, 1 reply; 6+ messages in thread
From: Kucharczyk, Bartlomiej (Nokia - PL/Wroclaw) @ 2016-05-05 18:48 UTC (permalink / raw)
  To: openembedded-core

Hello!

I am trying to use METADATA_REVISION variable (defined in metadata_scm.bbclass) in my recipe, but BitBake does not rebuild the task when git revision of the repository changes.
Setting [vardeps] does not help.

I suspect this may be related to the fact that METADATA_REVISION is defined this way:
	METADATA_REVISION ?= "${@base_detect_revision(d)}"
And BitBake does not expand this to the proper value, thus does not see any difference.

Does anyone have any suggestion how to tackle this issue, and force BitBake to properly track dependency to METADATA_REVISION value?

My original task is:
Package feeds/SDK installers are versioned (git metadata revision). I am trying to create an opkg.conf file which will contain such versioned package feeds URL in SDK installer. For build reproducibility, and user convenience.

Thanks in advance!
Bartek


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

end of thread, other threads:[~2016-05-06 15:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-05 18:48 How to force BitBake to track dependency to METADATA_REVISION? Kucharczyk, Bartlomiej (Nokia - PL/Wroclaw)
2016-05-05 23:08 ` Christopher Larson
2016-05-06 10:10   ` Kucharczyk, Bartlomiej (Nokia - PL/Wroclaw)
2016-05-06 10:49     ` Richard Purdie
2016-05-06 13:32       ` Kucharczyk, Bartlomiej (Nokia - PL/Wroclaw)
2016-05-06 15:42         ` Christopher Larson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.