mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Keep the pkg-config lookup for SYSTEMD_SLEEP_DIR, but fall back to "$(prefix)/lib/systemd/system-sleep/" if the variable remains unset. This avoids reintroducing a build-time dependency on systemd-devel while still honoring the path provided by pkg-config when present. Fixes:e54a6cd6a1("systemd: Add hooks to stop/start xen-watchdog on suspend/resume") Reported-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> Suggested-by: Andrew Cooper <andrew.cooper3@citrix.com> Signed-off-by: Mykola Kvach <mykola_kvach@epam.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com> (cherry picked from commitb34bde262c)