diff options
-rw-r--r-- | templates/machines/bbe.jinja2 | 6 |
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 %} |