Skip to content
Snippets Groups Projects
Commit 349e2525 authored by Emanuele Aina's avatar Emanuele Aina Committed by Martyn Welch
Browse files

lava: Switch to `os: apertis` after upgrade to LAVA 2021.05

With the update to LAVA 2021.05 a new deployment type has been added to
ensure that things work despite:

1. `/bin/sh` not pointing to Bash
2. a read-only `/` that prevents unpacking the overlay there

In particular the latter causes all the OSTree tests to fail when
downloading and unpacking the overlay with:

    ./lava-4147029/
    tar: ./lava-4147029: Cannot mkdir: Operation not permitted

See https://gitlab.collabora.com/lava/lava/-/commit/d621f93191591714449e67945ebd95cb6396727a


for the commit introducting the `apertis` type.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent 18549229
No related branches found
No related tags found
1 merge request!291Fix brokeness on Minnowboards after upgrade to LAVA 2021.05
...@@ -93,7 +93,7 @@ actions: ...@@ -93,7 +93,7 @@ actions:
bmap: bmap:
url: {{boot.image_url('bmap')}} url: {{boot.image_url('bmap')}}
uniquify: false uniquify: false
os: ubuntu os: apertis
writer: writer:
tool: /usr/bin/bmaptool tool: /usr/bin/bmaptool
options: copy {DOWNLOAD_URL} {DEVICE} options: copy {DOWNLOAD_URL} {DEVICE}
......
...@@ -52,7 +52,7 @@ actions: ...@@ -52,7 +52,7 @@ actions:
image_arg: -m 1024 -enable-kvm -cpu host -vga qxl -device virtio-rng-pci -drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/OVMF.fd -drive if=virtio,format=raw,file={rootfs} image_arg: -m 1024 -enable-kvm -cpu host -vga qxl -device virtio-rng-pci -drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/OVMF.fd -drive if=virtio,format=raw,file={rootfs}
url: {{boot.image_url('gz')}} url: {{boot.image_url('gz')}}
compression: gz compression: gz
os: ubuntu os: apertis
- boot: - boot:
namespace: system namespace: system
......
...@@ -56,7 +56,7 @@ actions: ...@@ -56,7 +56,7 @@ actions:
ramdisk: ramdisk:
url: {{baseurl}}/{{imgpath}}/{{image_date}}/{{arch}}/nfs/initrd.img url: {{baseurl}}/{{imgpath}}/{{image_date}}/{{arch}}/nfs/initrd.img
compression: gz compression: gz
os: ubuntu os: apertis
{% if needs_dtb -%} {% if needs_dtb -%}
dtb: dtb:
url: {{baseurl}}/{{imgpath}}/{{image_date}}/{{arch}}/nfs/dtbs/{{dtb}} url: {{baseurl}}/{{imgpath}}/{{image_date}}/{{arch}}/nfs/dtbs/{{dtb}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment