From 41bf984d0e83985e9a78606ea860b78f8287f05b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Roukala=20=28n=C3=A9=20Peres=29?= Date: Wed, 22 Jan 2025 14:50:40 +0200 Subject: [PATCH] ci/b2c: allow using another initrd that contains firmware MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows DUTs that require firmware to boot reliably to provide them without needing to include them in the kernel image. Signed-off-by: Martin Roukala (né Peres) Reviewed-by: Eric Engestrom Part-of: --- .gitlab-ci/b2c/b2c.yml.jinja2.jinja2 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci/b2c/b2c.yml.jinja2.jinja2 b/.gitlab-ci/b2c/b2c.yml.jinja2.jinja2 index 790a4fedb3d..e70f810463c 100644 --- a/.gitlab-ci/b2c/b2c.yml.jinja2.jinja2 +++ b/.gitlab-ci/b2c/b2c.yml.jinja2.jinja2 @@ -98,9 +98,14 @@ deployment: {{ kernel_cmdline_extras }} {% endif %} -{% if initramfs_url %} +{% if initramfs_url or firmware_url %} initramfs: - url: '{{ initramfs_url }}' +{% if firmware_url %} + - url: '{{ firmware_url }}' +{% endif %} +{% if initramfs_url %} + - url: '{{ initramfs_url }}' +{% endif %} {% endif %} {% if dtb_url %}