2021-02-10.build-on-non-usrmerge.patch 1.0 KB

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