aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2018-02-09 11:08:04 -0800
committerKevin Hilman <khilman@baylibre.com>2018-02-09 11:09:10 -0800
commit8060698fdeaf4d7738b889be0a84aa402d96c741 (patch)
treed13fd492d4621ec93fd42c1ac935f7157926c948
parent25bccfd28a51d1dda8a84700dbcae166eef35036 (diff)
templates/machines: use crosssdk images for daily/release builds
Change-Id: Ifdb704560d9391091d72458fa9742cc65d5eb2d8 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
-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") %}