diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2020-04-02 10:35:17 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2020-05-04 19:58:03 +0200 |
commit | 00ad1a93a63e9793b18a2a6515e92a9f303289cd (patch) | |
tree | 557fb689110bd66cbe0ddf6b82f9d820b2c2b109 /templates/boot/generic-grub-tftp.jinja2 | |
parent | b1b2493cae9c13ab5134fa93f63a217983ac75c5 (diff) |
SPEC-3210: handle the deprecation of actions: boot: type:
Specifying the kernel type in "actions: boot:" is deprecated.
It should now be set in "deploy: kernel:".
So this patch set unconditonaly the type: in the deploy section (before
it was only for ramdisk method) and remove the type: from the deprecated
place.
But due to a bug in LAVA, NBD jobs rely on type: to be in the deprecated
place until 2020.02 (2020.02 has the fix).
So this patch must be applied only after LAVA 2020.02 was deployed.
Change-Id: Ida30092d2abe14b05d5e37f651f91ab33876e4f5
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Diffstat (limited to 'templates/boot/generic-grub-tftp.jinja2')
-rw-r--r-- | templates/boot/generic-grub-tftp.jinja2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/boot/generic-grub-tftp.jinja2 b/templates/boot/generic-grub-tftp.jinja2 index 0d42443..1a82f27 100644 --- a/templates/boot/generic-grub-tftp.jinja2 +++ b/templates/boot/generic-grub-tftp.jinja2 @@ -25,8 +25,8 @@ context: {{ super() }} kernel: url: {{ kernel_url }} -{%- if rootfs_type == 'ramdisk' %} type: {{ kernel_type }} +{%- if rootfs_type == 'ramdisk' %} ramdisk: url: {{ initrd_url }} compression: {{ initrd_compression }} |