From 364641197bfe95512555abc36b7b62ac48166aaf Mon Sep 17 00:00:00 2001 From: Loys Ollivier Date: Fri, 6 Oct 2017 11:10:54 +0200 Subject: 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 --- templates/boot/generic-uboot-tftp.jinja2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/boot/generic-uboot-tftp.jinja2') 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 }} -- cgit 1.2.3-korg