Skip to content

Commit

Permalink
build: install into bin instead of sbin
Browse files Browse the repository at this point in the history
Installs into bin instead of sbin per guidelines.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Id795cf2e720191e04641a2b12e802407e096ab2d
  • Loading branch information
pstrinkle committed Mar 28, 2019
1 parent 7101f76 commit 49a18b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ systemdsystemunit_DATA = \
lpcsnoop.service
endif

sbin_PROGRAMS = snoopd snooper
bin_PROGRAMS = snoopd snooper

snoopd_SOURCES = main.cpp
snoopd_LDADD = $(SDBUSPLUS_LIBS) $(SDEVENTPLUS_LIBS) $(PHOSPHOR_DBUS_INTERFACES_LIBS) -lpthread
Expand Down
2 changes: 1 addition & 1 deletion lpcsnoop.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ After=systemd-modules-load.service

[Service]
Restart=always
ExecStart=@sbindir@/snoopd -d "/dev/@SNOOP_DEVICE@" -b "@POST_CODE_BYTES@"
ExecStart=@bindir@/snoopd -d "/dev/@SNOOP_DEVICE@" -b "@POST_CODE_BYTES@"

[Install]
WantedBy=@SYSTEMD_TARGET@

0 comments on commit 49a18b2

Please sign in to comment.