]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: fix /etc and /usr ownership main
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 30 Jul 2026 13:19:12 +0000 (15:19 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 30 Jul 2026 14:25:30 +0000 (15:25 +0100)
Recent Ubuntu 24.04 GHA images have /etc and /usr owned by runner
instead of root, which breaks some of our tests. This has been filed to
GH as https://github.com/actions/runner-images/issues/14477, so let's
work around this in our jobs until it's fixed.

.github/workflows/unit-tests.yml

index 2278e21c392d3e7ae9fb5e998b8c1da70461cdbf..03785f62239bfafb7dde84be623460fda6c19333 100644 (file)
@@ -47,6 +47,9 @@ jobs:
     env:
       CROSS_ARCH: ${{ matrix.cross_arch || '' }}
     steps:
+      # FIXME: revert this once https://github.com/actions/runner-images/issues/14477 is resolved
+      - name: Fix /etc and /usr ownership
+        run: sudo chown -v root:root /etc /usr
       - name: Repository checkout
         uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
         with: