Skip to content

Commit

Permalink
.github/workflows: Use ipxe-run.sh to run ipxe server
Browse files Browse the repository at this point in the history
Signed-off-by: Pawel Langowski <[email protected]>
  • Loading branch information
PLangowski committed Dec 6, 2024
1 parent 0aafcf6 commit 15bf0a1
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 15bf0a1

Please sign in to comment.