From e589b09ae97f1087c973aabbbe4f549855dffdad Mon Sep 17 00:00:00 2001 From: Loys Ollivier Date: Thu, 18 Jan 2018 15:12:17 +0100 Subject: templates: fix the rootfs name for qemu release builds The rootfs filename has changed for the release builds. Change the default to the new filename for qemu. Change-Id: I1d53010df912dd30d48dd0ee3bf3e4730d79497a Signed-off-by: Loys Ollivier --- templates/machines/qemux86-64.jinja2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/machines/qemux86-64.jinja2 b/templates/machines/qemux86-64.jinja2 index a0a01b1..5664de9 100644 --- a/templates/machines/qemux86-64.jinja2 +++ b/templates/machines/qemux86-64.jinja2 @@ -8,4 +8,8 @@ {%- set qemu_args = "-cpu qemu64,+ssse3,+sse4.1,+sse4.2,+popcnt -smp 2 -m 1048 -soundhw hda" %} {%- set qemu_cmdline = "console=ttyS0,115200 root=/dev/hda debug verbose" %} {%- set rootfs_type = rootfs_type|default("ramdisk") %} -{%- set rfs_image = rfs_image|default("agl-demo-platform-qemux86-64.ext4.xz") %} +{%- if build_type == 'release' %} + {%- set rfs_image = rfs_image|default("agl-demo-platform-crosssdk-qemux86-64.ext4.xz") %} +{%- else %} + {%- set rfs_image = rfs_image|default("agl-demo-platform-qemux86-64.ext4.xz") %} +{%- endif %} -- cgit 1.2.3-korg