From 815a04ffeefc4ac1b1c6009f02901cbd3fdbd26e Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Fri, 6 Oct 2017 19:11:24 +0000 Subject: Revert "Move boot type to kernel type" This reverts commit 364641197bfe95512555abc36b7b62ac48166aaf. Unfortunately, NBD jobs do not work with the new kernel type, so we can't remove the old boot type (at least until NBD is fixed.) Change-Id: If9a64135ef75771a90655fdc4c6429d9b494fcf0 Signed-off-by: Kevin Hilman --- templates/base/agl-base-defaults.jinja2 | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'templates/base') diff --git a/templates/base/agl-base-defaults.jinja2 b/templates/base/agl-base-defaults.jinja2 index 462fb86..f426211 100644 --- a/templates/base/agl-base-defaults.jinja2 +++ b/templates/base/agl-base-defaults.jinja2 @@ -19,16 +19,6 @@ {%- set vcs_branch = vcs_branch|default("agl-branch") %} {%- set vcs_url = vcs_url|default(baseurl()) %} -{# Kernel type definition #} -{%- if kernel_image|first|lower == "i" %} - {%- set kernel_type = "image" %} -{%- elif kernel_image|first|lower == "z" %} - {%- set kernel_type = "zimage" %} -{%- else %} - {%- set kernel_type = "uimage" %} -{%- endif %} - -{# Image names definitions #} {%- if rootfs_type == 'nbd' %} {%- set initrd = initrd|default("initramfs-netboot-image-" + yocto_machine +".ext4.gz") %} {%- set boot_commands = "nbd" %} -- cgit 1.2.3-korg