From 1bff41e945dccf2a7e52f7c776fbee5c6e4085b9 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Thu, 23 May 2019 13:12:14 +0200 Subject: Fix rootfs for upsquare on CI build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See the qemu case. Bug-AGL: SPEC-2449 Signed-off-by: Jan-Simon Möller Change-Id: Ib23bd4897e89d3eca1eaba33a37c256c932e2d36 --- templates/machines/upsquare.jinja2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'templates') 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 -- cgit 1.2.3-korg