We recently introduced fstrim cronjob / systemd timer unit, but some of distributions already has their own fstrim cronjob / systemd timer unit. So let's use them when it's posssible. Fixes #2233 Signed-off-by: Takuya ASADA <syuu@scylladb.com> Message-Id: <1491226727-10507-1-git-send-email-syuu@scylladb.com>
25 lines
699 B
Makefile
Executable File
25 lines
699 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
override_dh_auto_build:
|
|
./configure.py --disable-xen --enable-dpdk --mode=release --static-stdc++ --static-thrift --compiler=@@COMPILER@@
|
|
ninja
|
|
|
|
override_dh_auto_clean:
|
|
rm -rf build/release seastar/build
|
|
rm -rf Cql.tokens
|
|
rm -rf build.ninja seastar/build.ninja
|
|
|
|
override_dh_installinit:
|
|
dh_installinit --no-start @@DH_INSTALLINIT@@
|
|
dh_installinit --no-start --name scylla-housekeeping-daily @@DH_INSTALLINIT@@
|
|
dh_installinit --no-start --name scylla-housekeeping-restart @@DH_INSTALLINIT@@
|
|
dh_installinit --no-start --name node-exporter @@DH_INSTALLINIT@@
|
|
|
|
override_dh_installcron:
|
|
dh_installcron
|
|
|
|
override_dh_strip:
|
|
dh_strip --dbg-package=scylla-server-dbg
|
|
%:
|
|
dh $@
|