summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoys Ollivier <lollivier@baylibre.com>2018-01-18 15:12:17 +0100
committerLoys Ollivier <lollivier@baylibre.com>2018-01-18 15:12:17 +0100
commite589b09ae97f1087c973aabbbe4f549855dffdad (patch)
tree81452e031a463c57abe2a09daebdcbcceb4191b6
parent7b89850f324f10270e32c7a2aa1addbfadf9c029 (diff)
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 <lollivier@baylibre.com>
-rw-r--r--templates/machines/qemux86-64.jinja26
1 files changed, 5 insertions, 1 deletions
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 %}