From 3b32ca3924bfda71b00d04e353aa828816cdaa04 Mon Sep 17 00:00:00 2001 From: mlsmaycon Date: Tue, 28 Jul 2026 18:52:48 +0200 Subject: [PATCH] Prepare SysV tooling in install-script test containers The netbird package postinstall registers a SysV service when systemd is not running. The trixie and fedora images ship without /etc/init.d and the service tool, failing the postinstall before the UI gating under test. --- .github/workflows/install-script-test.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/install-script-test.yml b/.github/workflows/install-script-test.yml index 6b588ea63..c1569434c 100644 --- a/.github/workflows/install-script-test.yml +++ b/.github/workflows/install-script-test.yml @@ -72,6 +72,16 @@ jobs: with: persist-credentials: false + - name: prepare container + # The netbird package postinstall registers a SysV service when + # systemd is not running. The trixie and fedora images ship without + # the SysV directories and tools it needs, unlike the older images. + run: | + mkdir -p /etc/init.d + if command -v dnf >/dev/null 2>&1; then + dnf -y install initscripts-service || dnf -y install initscripts + fi + - name: run install script env: XDG_CURRENT_DESKTOP: GNOME