about summary refs log tree commit diff
path: root/.gitlab-ci/debian-install.sh
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2026-07-03 19:53:23 +0200
committerMichael Biebl <biebl@debian.org>2026-07-03 19:53:23 +0200
commitaa308069bebf2d5a3200728caa69a76137c03d8b (patch)
treec0ba2281e801c4720a0d8a5e5ee943688234f088 /.gitlab-ci/debian-install.sh
parent0a4b2c29da4ccf259bbcea3298d15abebb94348f (diff)
parent537bfce2bda471c92caabd388589230200891509 (diff)
Update upstream source from tag 'upstream/1.58_rc1'
Update to upstream version '1.58~rc1'
with Debian dir 451489c9234e2b6b7c2f41ca6670287ea3ac3efd
Diffstat (limited to '.gitlab-ci/debian-install.sh')
-rwxr-xr-x.gitlab-ci/debian-install.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh
index 737d4052..f46323fb 100755
--- a/.gitlab-ci/debian-install.sh
+++ b/.gitlab-ci/debian-install.sh
@@ -31,6 +31,13 @@ if [ $IS_DEBIAN_9 = 1 -o $IS_UBUNTU_18_04 = 1 ]; then
     ln -sf /bin/true /usr/bin/chfn
 fi
 
+# The udev postinst runs systemd-tmpfiles, which fails to chown the
+# read-only /dev/kvm, /dev/vhost-* nodes the CI runner exposes. We only
+# need udev for its pkgconfig file, not the daemon; mask the offending
+# tmpfiles so the postinst succeeds.
+mkdir -p /etc/tmpfiles.d
+: > /etc/tmpfiles.d/static-nodes-permissions.conf
+
 DEBIAN_FRONTEND=noninteractive apt-get update
 DEBIAN_FRONTEND=noninteractive NM_INSTALL="apt-get --yes install" bash -x ./contrib/debian/REQUIRED_PACKAGES