aboutsummaryrefslogtreecommitdiffstats
path: root/templates/boot/generic-qemu-tmpfs.jinja2
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2020-04-30 09:29:19 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-05-04 19:58:55 +0200
commit8e8644dacbe7561d7de29279d5e04110e0a69c53 (patch)
treeda141ff0bbfbb81497adf295b917825d33dabcaf /templates/boot/generic-qemu-tmpfs.jinja2
parentf1a781b8996546ccf20c951f9aec5178ff394b39 (diff)
SPEC-3210: qemu do not use ramdisk
On 2020.02, qemu jobs fail to mount the rootfs. This is due to LAVA ignore now compression for ramdisk and the AGL image is in xz. But AGL qemu jobs in fact does not use a ramdisk but a virtio disk. Renaming the ramdisk definition entry to rootvd handle this issue. Furthermore, let's introduce a new rootfs type rootvd. Change-Id: I71ef6dee0d859c6aa0b29f1d47ac14dd4db900d8 Bug-AGL: SPEC-3210 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Diffstat (limited to 'templates/boot/generic-qemu-tmpfs.jinja2')
-rw-r--r--templates/boot/generic-qemu-tmpfs.jinja26
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/boot/generic-qemu-tmpfs.jinja2 b/templates/boot/generic-qemu-tmpfs.jinja2
index e39802d..b89ac60 100644
--- a/templates/boot/generic-qemu-tmpfs.jinja2
+++ b/templates/boot/generic-qemu-tmpfs.jinja2
@@ -32,9 +32,9 @@ context:
kernel:
image_arg: '-kernel {kernel} -append "{{ qemu_cmdline }}"'
url: {{ kernel_url }}
-{%- if initrd_url and rootfs_type == 'ramdisk' %}
- ramdisk:
- image_arg: '-drive format=raw,file={ramdisk}'
+{%- if initrd_url and rootfs_type == 'rootvd' %}
+ rootvd:
+ image_arg: '-drive format=raw,file={rootvd}'
url: {{ initrd_url }}
compression: {{ initrd_compression }}
{%- endif %}