aboutsummaryrefslogtreecommitdiffstats
path: root/templates/machines/bbe.jinja2
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2021-05-12 09:01:16 +0000
committerCorentin LABBE <clabbe@baylibre.com>2021-05-12 10:19:19 +0000
commit95be453d0fe7120e1da29d702eea25d9d74dc6ee (patch)
tree1476d24e4707e2e6bc9dd0f1f0b856398868c065 /templates/machines/bbe.jinja2
parent7ea7969092a37f35ef78c7f869d5fa2969338dab (diff)
SPEC-3904: use the right image name for CI
CI do not use crosssdk image. Bug-AGL: SPEC-3904 Change-Id: Icf046598c4125663394ecd2e830069204b266890 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Diffstat (limited to 'templates/machines/bbe.jinja2')
-rw-r--r--templates/machines/bbe.jinja26
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/machines/bbe.jinja2 b/templates/machines/bbe.jinja2
index 5a3db6d..c942478 100644
--- a/templates/machines/bbe.jinja2
+++ b/templates/machines/bbe.jinja2
@@ -7,4 +7,8 @@
{%- set kernel_image = kernel_image|default("zImage") %}
{%- set rootfs_type = rootfs_type|default("nbd") %}
{%- set uboot_type = "bootz" %}
-{%- set rfs_image = rfs_image|default("agl-demo-platform-crosssdk-bbe.ext4.xz") %}
+{%- if (build_type == 'daily') or (build_type == 'release') or (build_type == 'snapshot') or (build_type == 'prerelease') %}
+ {%- set rfs_image = rfs_image|default("agl-demo-platform-crosssdk-bbe.ext4.xz") %}
+{%- else %}
+ {%- set rfs_image = rfs_image|default("agl-demo-platform-bbe.ext4.xz") %}
+{% endif %}