From 3409f9416f64b70d3548bcb7dab0ad4f47629035 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Thu, 30 Apr 2020 09:29:19 +0200 Subject: 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 --- templates/base/agl-base-defaults.jinja2 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'templates/base/agl-base-defaults.jinja2') diff --git a/templates/base/agl-base-defaults.jinja2 b/templates/base/agl-base-defaults.jinja2 index 87a5a89..01589e1 100644 --- a/templates/base/agl-base-defaults.jinja2 +++ b/templates/base/agl-base-defaults.jinja2 @@ -40,6 +40,8 @@ {%- set rootfs_url = rootfs_url|default(baseurl(rootfs)) %} {%- elif rootfs_type == 'ramdisk' %} {%- set initrd = rfs_image|default("initramfs-boot-image-" + yocto_machine + ".gz") %} +{%- elif rootfs_type == 'rootvd' %} + {%- set initrd = rfs_image|default("initramfs-boot-image-" + yocto_machine + ".gz") %} {%- endif %} {%- set initrd_compression = (initrd|get_extension) %} -- cgit 1.2.3-korg