aboutsummaryrefslogtreecommitdiffstats
path: root/templates/boot
diff options
context:
space:
mode:
authorLoys Ollivier <lollivier@baylibre.com>2017-10-06 11:10:54 +0200
committerLoys Ollivier <lollivier@baylibre.com>2017-10-06 11:57:42 +0200
commit364641197bfe95512555abc36b7b62ac48166aaf (patch)
tree9293b4dddb9eea8a080e057a1922507a63404d9d /templates/boot
parent0b427702e5f32f8573620a6770cb234bc31e2415 (diff)
Move boot type to kernel type
Boot type is deprecated in lava v2. Replaced by kernel_type and define it from the kernel image name. Change-Id: I6bcb326b5fb8b0230a9d519485741209bfab8ef2 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
Diffstat (limited to 'templates/boot')
-rw-r--r--templates/boot/generic-uboot-tftp.jinja22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/boot/generic-uboot-tftp.jinja2 b/templates/boot/generic-uboot-tftp.jinja2
index 0f0f9e2..4baa405 100644
--- a/templates/boot/generic-uboot-tftp.jinja2
+++ b/templates/boot/generic-uboot-tftp.jinja2
@@ -10,7 +10,6 @@ protocols:
{% endblock %}
{%- block boot %}
{{ super() }}
- type: {{ uboot_type|default("bootm") }}
commands: {{ boot_commands|default("ramdisk") }}
{%- if rootfs_type == 'nbd' %}
transfer_overlay:
@@ -22,6 +21,7 @@ protocols:
{{ super() }}
kernel:
url: {{ kernel_url }}
+ type: {{ kernel_type }}
{%- if rootfs_type == 'nbd' %}
initrd:
url: {{ initrd_url }}