host-reboot: move to PSM subdir
Per the project anti-patterns[1], scripts are suppose to be installed
in a package-named subdirectory within libexec. Move appropriately
and update the service file.
[1]: https://github.com/openbmc/docs/blob/master/anti-patterns.md#background-4
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie62e032707f374da4af20c38bbf358a8c442d690
diff --git a/meson.build b/meson.build
index 3a9f855..12daf35 100644
--- a/meson.build
+++ b/meson.build
@@ -276,7 +276,7 @@
install_data('scripts/host-reboot',
install_mode: 'rwxr-xr-x',
- install_dir: get_option('libexecdir')
+ install_dir: get_option('libexecdir')/'phosphor-state-manager'
)
systemd = dependency('systemd')