summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/machines/dra7xx-evm.jinja27
-rw-r--r--templates/machines/raspberrypi3.jinja22
2 files changed, 7 insertions, 2 deletions
diff --git a/templates/machines/dra7xx-evm.jinja2 b/templates/machines/dra7xx-evm.jinja2
index 9fe7464..f8bb1e5 100644
--- a/templates/machines/dra7xx-evm.jinja2
+++ b/templates/machines/dra7xx-evm.jinja2
@@ -5,5 +5,10 @@
{%- set dtb = dtb|default("zImage-dra7-evm-lcd-lg.dtb") %}
{%- set kernel_image = kernel_image|default("zImage") %}
{%- set rootfs_type = rootfs_type|default("nbd") %}
-{%- set rfs_image = rfs_image|default("agl-demo-platform-dra7xx-evm.ext4.xz") %}
+{%- if (build_type == 'daily') or (build_type == 'release') %}
+ {%- set rfs_image = rfs_image|default("agl-demo-platform-crosssdk-dra7xx-evm.ext4.xz") %}
+{%- else %}
+ {%- set rfs_image = rfs_image|default("agl-demo-platform-dra7xx-evm.ext4.xz") %}
+{%- endif %}
+
{%- set uboot_type = "bootz" %}
diff --git a/templates/machines/raspberrypi3.jinja2 b/templates/machines/raspberrypi3.jinja2
index 2380254..9d28e02 100644
--- a/templates/machines/raspberrypi3.jinja2
+++ b/templates/machines/raspberrypi3.jinja2
@@ -9,7 +9,7 @@
{%- set initrd = "initramfs-netboot-image-" + yocto_machine +".ext4.gz.u-boot" %}
{%- endif %}
{%- set dtb = dtb|default("uImage-bcm2710-rpi-3-b.dtb") %}
-{%- if build_type == 'daily' %}
+{%- if (build_type == 'daily') or (build_type == 'release') %}
{%- set rfs_image = rfs_image|default("agl-demo-platform-crosssdk-raspberrypi3.ext4.xz") %}
{%- else %}
{%- set rfs_image = rfs_image|default("agl-demo-platform-raspberrypi3.ext4.xz") %}