From c07b35b78f7d65ff9f6d7f02d1348619302b0baf Mon Sep 17 00:00:00 2001 From: Baocheng Su Date: Tue, 30 Jan 2024 17:17:58 +0800 Subject: [PATCH] ci: Add EIO subsystem to SWU image Makes EIO subsystem buildable by adding the binary stubs. Note that the build output is not fully functional without the real EIO subsystem binaries. Signed-off-by: Baocheng Su --- .github/workflows/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7afd814d4..54b8fcb06 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,8 +33,13 @@ jobs: uses: actions/checkout@v3 - name: Free Disk Space uses: ./.github/workflows/free-disk-space + - name: Mock EIO binary stubs + run: | + touch ./recipes-app/iot2050-eio-manager/files/bin/iot2050-eiofsd + touch ./recipes-app/iot2050-eio-manager/files/bin/map3-fw.bin + touch ./recipes-app/iot2050-eio-manager/files/bin/firmware-version - name: Build image - run: ./kas-container build kas-iot2050-swupdate.yml:kas/opt/secure-boot.yml:kas/opt/preempt-rt.yml + run: ./kas-container build kas-iot2050-swupdate.yml:kas/opt/secure-boot.yml:kas/opt/preempt-rt.yml:kas/opt/eio.yml - name: Upload image uses: actions/upload-artifact@v3 with: