summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2019-03-28 13:10:36 -0700
committerPatrick Venture <venture@google.com>2019-04-04 20:47:26 +0000
commitb964c928156c2e71fe3bc9a2693b02cfbba5309c (patch)
tree9b01cfb144783eaa148ae4ff1cddf5a4a552d01a
parentaa2030c2fb261ec9c3e43a04afdf8b7602d20258 (diff)
downloadopenpower-proc-control-master.zip
openpower-proc-control-master.tar.gz
build: install into bin instead of sbinHEADmaster
Installs into bin instead of sbin per guidelines. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I506628bb9930c6930284f4183d492080e79dd5f0
-rw-r--r--Makefile.am2
-rw-r--r--pcie-poweroff@.service.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 9efb6d4..6c540f7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,7 +3,7 @@ AM_DEFAULT_SOURCE_EXT = .cpp
systemdsystemunit_DATA = \
pcie-poweroff@.service
-sbin_PROGRAMS = \
+bin_PROGRAMS = \
openpower-proc-control
openpower_proc_control_SOURCES = \
diff --git a/pcie-poweroff@.service.in b/pcie-poweroff@.service.in
index f1d6bbc..5f0403a 100644
--- a/pcie-poweroff@.service.in
+++ b/pcie-poweroff@.service.in
@@ -5,7 +5,7 @@ After=obmc-power-stop-pre@%i.target
[Service]
Type=oneshot
-ExecStart=@sbindir@/openpower-proc-control cleanupPcie
+ExecStart=@bindir@/openpower-proc-control cleanupPcie
[Install]
WantedBy=obmc-chassis-poweroff@%i.target
OpenPOWER on IntegriCloud