Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions config/runtime/boot/depthcharge.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,16 @@
{%- if boot_commands == 'nfs' and nfsroot %}
nfsrootfs:
compression: xz
format: tar
url: '{{ nfsroot }}/full.rootfs.tar.xz'
{%- if node.artifacts.kselftest_tar_gz %}
overlays:
kselftest:
url: {{ node.artifacts.kselftest_tar_gz }}
compression: gz
format: tar
path: /opt/kselftest
{%- endif %}
ramdisk:
compression: gz
url: '{{ nfsroot }}/initrd.cpio.gz'
Expand Down
8 changes: 8 additions & 0 deletions config/runtime/boot/fastboot.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
format: tar
path: /
{% set dtb = device_dtb.split('/')[-1] %}
{%- if node.artifacts.kselftest_tar_gz %}
kselftest:
url: {{ node.artifacts.kselftest_tar_gz }}
compression: gz
format: tar
path: /opt/kselftest
{%- endif %}

postprocess:
docker:
image: ghcr.io/mwasilew/docker-mkbootimage:master
Expand Down
9 changes: 9 additions & 0 deletions config/runtime/boot/grub.jinja2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as of now on base fastboot we are using buildroot ramdisk which don't have kselftest deps. That's why I push #2969.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,16 @@
{%- if boot_commands == 'nfs' %}
nfsrootfs:
url: '{{ nfsroot }}/full.rootfs.tar.xz'
format: tar
compression: xz
{%- if node.artifacts.kselftest_tar_gz %}
overlays:
kselftest:
url: {{ node.artifacts.kselftest_tar_gz }}
compression: gz
format: tar
path: /opt/kselftest
{%- endif %}
ramdisk:
url: '{{ nfsroot }}/initrd.cpio.gz'
compression: gz
Expand Down
9 changes: 9 additions & 0 deletions config/runtime/boot/u-boot.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,16 @@
{%- if boot_commands == 'nfs' %}
nfsrootfs:
url: '{{ nfsroot }}/full.rootfs.tar.xz'
format: tar
compression: xz
{%- if node.artifacts.kselftest_tar_gz %}
overlays:
kselftest:
url: {{ node.artifacts.kselftest_tar_gz }}
compression: gz
format: tar
path: /opt/kselftest
{%- endif %}
ramdisk:
url: '{{ nfsroot }}/initrd.cpio.gz'
compression: gz
Expand Down
2 changes: 1 addition & 1 deletion config/runtime/tests/kselftest-platform-parameters.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
path: automated/linux/kselftest/kselftest.yaml
name: '{{ node.name }}'
parameters:
TESTPROG_URL: '{{ node.artifacts.kselftest_tar_gz }}'
KSELFTEST_PATH: /opt/kselftest
SKIPFILE: /dev/null
TST_CMDFILES: '{{ collections }}'
TST_CASENAME: '{{ tests }}'
Expand Down
2 changes: 1 addition & 1 deletion config/runtime/tests/kselftest.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
path: automated/linux/kselftest/kselftest.yaml
name: '{{ node.name }}'
parameters:
TESTPROG_URL: '{{ node.artifacts.kselftest_tar_gz }}'
KSELFTEST_PATH: /opt/kselftest
SKIPFILE: {{ skipfile if skipfile else '/dev/null' }}
TST_CMDFILES: '{{ collections }}'
TST_CASENAME: '{{ tests }}'
Expand Down