From 5054b48c9de655b4b48f7c801cb305d9eb122520 Mon Sep 17 00:00:00 2001 From: Petros Angelatos Date: Fri, 31 Dec 2021 19:34:07 +0100 Subject: [PATCH] systemd: correctly prefix systemd system units The definition of the `systemdsystemunitdir` variable uses `rootprefix` instead of `prefix`: https://github.com/systemd/systemd/blob/v250/src/core/systemd.pc.in#L23 Signed-off-by: Petros Angelatos --- src/daemon/systemd/system/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/systemd/system/meson.build b/src/daemon/systemd/system/meson.build index 4d942c1ab..7e1c223f8 100644 --- a/src/daemon/systemd/system/meson.build +++ b/src/daemon/systemd/system/meson.build @@ -1,4 +1,4 @@ -systemd_system_services_dir = systemd.get_variable(pkgconfig: 'systemdsystemunitdir', pkgconfig_define : [ 'prefix', prefix]) +systemd_system_services_dir = systemd.get_variable(pkgconfig: 'systemdsystemunitdir', pkgconfig_define : [ 'rootprefix', prefix]) install_data(sources : 'pipewire.socket', install_dir : systemd_system_services_dir)