From 16783776346d00a71e7b0162776848bba0a3f1e3 Mon Sep 17 00:00:00 2001 From: Lleyton Gray Date: Sat, 11 May 2024 22:19:15 -0700 Subject: [PATCH] add loop device fix --- .github/workflows/build-katsu.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-katsu.yml b/.github/workflows/build-katsu.yml index 65abf846..14c1af79 100644 --- a/.github/workflows/build-katsu.yml +++ b/.github/workflows/build-katsu.yml @@ -144,6 +144,11 @@ jobs: uses: actions/checkout@v4 - name: ${{ env.KATSU_BUILD_TASK_NAME }} run: | + # loop device fix + if [ "$(df -T /dev | tail -1 |cut -f 1 -d ' ')" = "tmpfs" ]; then + mount -t devtmpfs none /dev + fi + pushd katsu KATSU_LOG=trace katsu -v --output=iso "modules/${{ matrix.variant }}.yaml" # get the ISO name, and then append the arch