actions: map utmp from host to container

this fixes the check_users not having any logged in user to check.
This commit is contained in:
Sven Nierlein 2021-10-25 14:55:50 +02:00 committed by Sven Nierlein
parent 03028d23b6
commit a96161c824

View file

@ -35,6 +35,7 @@ jobs:
-e NPTEST_CACHE="/src/.github/NPTest.cache" \
-w /src -v ${PWD}:/src \
--tmpfs /media/ramdisk1 \
-v /var/run/utmp:/var/run/utmp \
--mount source=tmp-vol,destination=/src,target=/media/ramdisk2 \
${{ matrix.distro }} \
/bin/sh -c '${{ matrix.prepare }} && \