commit | 4c5cb936ae27d5b499e1919db20a88f804759192 | [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:27 2025 -0400 |
tree | c65fab0d91a541ad50653f60312d52e951860bf5 | |
parent | 01cec99323890e1759bac54d2a81b59e15624dcc [diff] [blame] |
phosphor-image-updater: 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-image-updater /tmp/phosphor-bmc-code-mgmt/usr/local/libexec/phosphor-bmc-code-mgmt/phosphor-image-updater ``` Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iba20534db7404bf341d33bc2c5d8d885cade8fff
diff --git a/bmc/meson.build b/bmc/meson.build index af7cc74..7909c58 100644 --- a/bmc/meson.build +++ b/bmc/meson.build
@@ -218,6 +218,7 @@ 'item_updater_main.cpp', dependencies: [deps, ssl, boost_dep], install: true, + install_dir: get_option('libexecdir') / 'phosphor-code-mgmt', ) executable(