From 15bf0a11168c2d59510fa4bc11c5e063d6753fde Mon Sep 17 00:00:00 2001 From: Pawel Langowski Date: Fri, 6 Dec 2024 14:12:33 +0100 Subject: [PATCH] .github/workflows: Use ipxe-run.sh to run ipxe server Signed-off-by: Pawel Langowski --- .github/workflows/test.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d567957d..8acc6af6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,16 +25,11 @@ jobs: - name: Run IPXE server shell: bash run: | + cd open-source-firmware-validation mkdir ipxe cp build/tmp/deploy/images/genericx86-64/dts-base-image-genericx86-64.cpio.gz ipxe cp build/tmp/deploy/images/genericx86-64/bzImage ipxe - echo -e "\n - #!ipxe\n - imgfetch --name file_kernel bzImage\n - imgfetch --name file_initrd dts-base-image-genericx86-64.cpio.gz\n - kernel file_kernel root=/dev/nfs initrd=file_initrd\n - boot" > ipxe/dts.ipxe - cd ipxe && python3 -m http.server 4321 & + ./scripts/ci/ipxe-run.sh ipxe/dts-base-image-genericx86-64.cpio.gz ipxe/bzImage & - name: Install requirements shell: bash run: |