aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/machines/upsquare.jinja26
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/machines/upsquare.jinja2 b/templates/machines/upsquare.jinja2
index 5086ada..36da2a2 100644
--- a/templates/machines/upsquare.jinja2
+++ b/templates/machines/upsquare.jinja2
@@ -6,4 +6,8 @@
{%- set yocto_machine = "intel-corei7-64" %}
{%- set kernel_image = kernel_image|default("bzImage") %}
{%- set rootfs_type = rootfs_type|default("nbd") %}
-{%- set rfs_image = rfs_image|default("agl-demo-platform-crosssdk-intel-corei7-64.ext4.xz") %}
+{%- if (build_type == 'daily') or (build_type == 'release') or (build_type == 'snapshot') %}
+ {%- set rfs_image = rfs_image|default("agl-demo-platform-crosssdk-intel-corei7-64.ext4.xz") %}
+{%- else %}
+ {%- set rfs_image = rfs_image|default("agl-demo-platform-intel-corei7-64.ext4.xz") %}
+{%- endif %} \ No newline at end of file