commit | caa889e905af4f433289daff701285eb19597e9e | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Sat Apr 19 12:39:38 2025 -0400 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Apr 21 11:02:52 2025 -0400 |
tree | d3b841f382dfa9c3c5920ab292ab6fc3027390e9 | |
parent | 4fef1c451e2c2f4ce732660669ddd783cadc56c3 [diff] [blame] |
phosphor-usb-code-update: move to libexec Non-user executables are suppose to be installed into libexec[1]. [1]: https://github.com/openbmc/docs/blob/master/anti-patterns.md#incorrect-placement-of-executables-in-sbin-usrsbin-or-bin-usrbin Tested: ``` $ meson install -C builddir --destdir /tmp/phosphor-bmc-code-mgmt $ find /tmp/phosphor-bmc-code-mgmt/ -name phosphor-usb-code-update /tmp/phosphor-bmc-code-mgmt/usr/local/libexec/phosphor-bmc-code-mgmt/phosphor-usb-code-update ``` Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I59925038785709c3bfb2e374c4a233e2cd9d9176
diff --git a/bmc/usb/meson.build b/bmc/usb/meson.build index b90f370..c531fab 100644 --- a/bmc/usb/meson.build +++ b/bmc/usb/meson.build
@@ -20,7 +20,7 @@ sdeventplus_dep, ], install: true, - install_dir: get_option('bindir'), + install_dir: get_option('libexecdir') / 'phosphor-code-mgmt', ) systemd_system_unit_dir = dependency('systemd').get_variable(