From a847a099d14ddec566def2ab035ea523ad8995a0 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 2 Sep 2024 13:20:10 +1000 Subject: [PATCH] ci: make /etc/udev/hwdb.d writable in the valgrind job too Some of of our tests dump temporary hwdbs there, let's make this writable (it's already done for the non-valgrind job). Closes #701 --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8250c732..3cee415a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -82,6 +82,10 @@ jobs: with: apt: $UBUNTU_PACKAGES pip: $PIP_PACKAGES + - name: make /etc/udev/hwdb.d writable + run: | + sudo mkdir -p /etc/udev/hwdb.d + sudo chmod o+rwx /etc/udev/hwdb.d # for the valgrind case, we need custom setup, the matrix isn't # flexible enough for this - name: valgrind - meson test