Subject: Adjust build for non-usrmerged systems Author: Christoph Biedl Date: 2020-12-29 Bug-Debian: https://bugs.debian.org/993246 Forwarded: not-needed Last-Update: 2021-08-30 Was previously part of cherry-pick/1606953228.v15-5-g9cdd041.systemd-drop-ncat-dependency.patch The legacy path /lib should be the first in the list, else package package will not build reproducibly between usrmerged/unmerged build environments. This patch can be removed once unmerged /usr is no longer supported. --- a/src/luks/systemd/meson.build +++ b/src/luks/systemd/meson.build @@ -1,6 +1,7 @@ systemd = dependency('systemd', required: false) sd_reply_pass = find_program( + join_paths('/', 'lib', 'systemd', 'systemd-reply-password'), join_paths(get_option('prefix'), get_option('libdir'), 'systemd', 'systemd-reply-password'), join_paths(get_option('prefix'), 'lib', 'systemd', 'systemd-reply-password'), join_paths('/', 'usr', get_option('libdir'), 'systemd', 'systemd-reply-password'),