dist/debian: don't install systemd unit by install.sh, use debian/*.service

Installing *.service by install.sh script causes the error on installing .deb
package, use debian/*.service instead.

Fixes scylladb/scylla#6010
Related scylladb/scylla#5640
Related 29285b28e2
This commit is contained in:
Takuya ASADA 2020-06-07 18:08:25 +09:00 committed by Avi Kivity
parent 354df10ea9
commit 2883a8dc63
2 changed files with 5 additions and 1 deletions

View File

@ -8,7 +8,7 @@ override_dh_auto_clean:
override_dh_auto_install: override_dh_auto_install:
dh_auto_install dh_auto_install
cd scylla-jmx; ./install.sh --root "$(CURDIR)/debian/$(DEB_SOURCE)" --sysconfdir /etc/default cd scylla-jmx; ./install.sh --root "$(CURDIR)/debian/tmp" --sysconfdir /etc/default
override_dh_installinit: override_dh_installinit:
ifeq ($(DEB_SOURCE),scylla-jmx) ifeq ($(DEB_SOURCE),scylla-jmx)

4
dist/debian/debian/scylla-jmx.install vendored Normal file
View File

@ -0,0 +1,4 @@
etc/default/scylla-jmx
etc/systemd/system/scylla-jmx.service.d/sysconfdir.conf
opt/scylladb/jmx/*
usr/lib/scylla/jmx/*