Skip to content

Commit

Permalink
Makefile.am: do not package data/*.service
Browse files Browse the repository at this point in the history
Packaging the service files renders the corresponding .in file useless.
@bindir@ is ignored making the systemd service fail if the rauc binary
location differs from the packaging host.

Signed-off-by: Bastian Stender <bst@pengutronix.de>
  • Loading branch information
Bastian-Krause authored and Enrico Jorns committed May 3, 2017
1 parent 56426f2 commit e119229
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ rauc_LDADD = $(JSON_GLIB_LIBS) $(librauc_la_LIBADD) librauc.la

if SYSTEMD
systemdunitdir=$(SYSTEMD_UNITDIR)
dist_systemdunit_DATA = data/rauc.service
nodist_systemdunit_DATA = data/rauc.service
endif

dbussystemdir = $(DBUS_SYSTEMSERVICEDIR)
dist_dbussystem_DATA = data/de.pengutronix.rauc.service
nodist_dbussystem_DATA = data/de.pengutronix.rauc.service

dbuspolicydir = $(DBUS_POLICYDIR)
dist_dbuspolicy_DATA = data/de.pengutronix.rauc.conf
Expand Down Expand Up @@ -194,8 +194,8 @@ doc:
AM_DISTCHECK_CONFIGURE_FLAGS = "--without-systemdunitdir"

CLEANFILES = $(gdbus_installer_generated) \
$(dist_systemdunit_DATA) \
$(dist_dbussystem_DATA) \
$(nodist_systemdunit_DATA) \
$(nodist_dbussystem_DATA) \
data/rauc.service \
test/empty.dat \
test/test-results/rauc.*.counts \
Expand Down

0 comments on commit e119229

Please sign in to comment.