From 323fa1eee8a35553fadd2b627012641fc4a26817 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Mon, 27 Apr 2026 09:48:44 +0100 Subject: [PATCH] Update systemd-dev installation instructions in BUILD.md [skip ci] Clarified instructions for installing systemd-dev and added a dry-run command for safety. --- BUILD.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/BUILD.md b/BUILD.md index 5b16c4ad..4f52a56b 100644 --- a/BUILD.md +++ b/BUILD.md @@ -83,10 +83,13 @@ If you are building classic Shairport Sync, the list of packages is shorter: libpopt-dev libconfig-dev libasound2-dev avahi-daemon libavahi-client-dev libssl-dev libsoxr-dev \ libavutil-dev libavcodec-dev libavformat-dev ``` -Building on Ubuntu 24.10 or Debian 13 ("Trixie") and later – and possibly on other distributions – requires `systemd-dev`. Be very careful here if you are using backports -- there is a [report](https://github.com/mikebrady/shairport-sync/issues/2195#issuecomment-4325326002) that installing `systemd-dev` on a backported system can severely damage it: - +Building on Ubuntu 24.10 or Debian 13 ("Trixie") and later – and possibly on other distributions – requires `systemd-dev`. Be very careful here if you are using backports -- there is a [report](https://github.com/mikebrady/shairport-sync/issues/2195#issuecomment-4325326002) that installing `systemd-dev` on a backported system can severely damage it. ``` -# apt install --no-install-recommends systemd-dev # it's okay if this fails because the package doesn't exist +$ apt install --dry-run --no-install-recommends systemd-dev +``` +Only if that looks okay, proceed to: +``` +# apt install --no-install-recommends systemd-dev ``` ### Fedora (Fedora 40)