commit | 86e3fd70f003264a05a09452c60ea8b9da6be287 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Fri Apr 21 16:14:17 2023 +0930 |
committer | Andrew Jeffery <andrew@aj.id.au> | Fri Apr 21 16:20:13 2023 +0930 |
tree | 624b7432dcaa88e6fdefad0b99942579e84d6813 | |
parent | dd4fa59109501b69b9fb0af94b8afb8c3778fa3d [diff] |
meson: Install obmc-console-server in $sbindir for consistency Currently the autotools build and the systemd service units expect obmc-console-server to be installed in ${sbindir}. This probably still isn't quite right (`${libexecdir}/obmc-console/` might be a better choice by [1]) but at least it's consistent. [1] https://github.com/openbmc/docs/blob/master/anti-patterns.md#incorrect-placement-of-executables-in-sbin-usrsbin-or-bin-usrbin Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I6db11d0916ce40d0dcae4617d1ae1ddab3fe9a81
diff --git a/meson.build b/meson.build index 8787f2a..de714c1 100644 --- a/meson.build +++ b/meson.build
@@ -61,6 +61,7 @@ dependency('libsystemd'), meson.get_compiler('c').find_library('rt') ], + install_dir: get_option('sbindir'), install: true) executable('obmc-console-client',