Skip to content

Commit b754194

Browse files
hoyessaininav
authored andcommitted
zephyr-core/scripts: Resolve West revisions to SHAs
The West manifest in Zephyr 3.3 contains a tag (instead of a SHA) for zcbor [1]. OE standard practice is to always specifiy revisions using SHAs, so in the Jinja template, use the new resolve_revision filter to resolve any tags. [1] zephyrproject-rtos/zephyr#51219 (comment) Signed-off-by: Peter Hoyes <[email protected]> Signed-off-by: Naveen Saini <[email protected]>
1 parent 019d6fb commit b754194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meta-zephyr-core/scripts/zephyr-kernel-src.inc.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SRCREV_FORMAT = "default"
55

66
SRCREV_default = "{{ ('v' ~ version) | resolve_revision(zephyr_url) }}"
77
{% for project in projects -%}
8-
SRCREV_{{ project.name }} = "{{ project.revision }}"
8+
SRCREV_{{ project.name }} = "{{ project.revision | resolve_revision(project.url) }}"
99
{% endfor %}
1010
SRC_URI_ZEPHYR ?= "{{ zephyr_url | git_url_to_bitbake }}"
1111
{%- for project in projects %}

0 commit comments

Comments
 (0)