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/xyz.openbmc_project.Software.BMC.Updater.service.in b/bmc/xyz.openbmc_project.Software.BMC.Updater.service.in index 36be143..bb05629 100644 --- a/bmc/xyz.openbmc_project.Software.BMC.Updater.service.in +++ b/bmc/xyz.openbmc_project.Software.BMC.Updater.service.in
@@ -4,7 +4,7 @@ Before=xyz.openbmc_project.Software.Version.service [Service] -ExecStart=/usr/bin/phosphor-image-updater +ExecStart=/usr/libexec/phosphor-code-mgmt/phosphor-image-updater Restart=always Type=dbus BusName={BUSNAME}