From b2ad906280eb8d1fcfebc50dab62352ad5f4d58c Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 1 May 2022 20:33:30 +0200 Subject: [PATCH] Trying to fix docker run options not allowing to use blkid on loopdev --- .github/workflows/pytest.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 68b30dc2..f67b7857 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -5,7 +5,8 @@ jobs: runs-on: ubuntu-latest container: image: archlinux:latest - options: --privileged --cap-add=MKNOD --device-cgroup-rule="b 7:* rmw" + options: --privileged -v /dev:/dev + # --cap-add=MKNOD --device-cgroup-rule="b 7:* rmw" steps: - uses: actions/checkout@v2 - run: pacman --noconfirm -Syu python python-pip parted