From 9d7068d2d079a0fdd719d0852626abf7bb9c5a3d Mon Sep 17 00:00:00 2001 From: Manuel Montecelo Date: Tue, 3 Apr 2018 22:26:09 +0200 Subject: [PATCH] TT#26264 Fix to install the config files for tmpfiles.d The files are not copied/installed in the package correctly, probably because there are different calls to dh_installinit with different --name parameters, but not any invocation in which "ngcp-kamailio" or the others are used, thus the files are ignored. Change-Id: Iec42bf7e78a83f74961af37878a94effd05d1f91 --- debian/rules | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/rules b/debian/rules index 60c69dc9e..f6c8c0839 100755 --- a/debian/rules +++ b/debian/rules @@ -207,8 +207,14 @@ binary-common: dh_installdocs dh_installexamples -Xobsoleted -Xsr dh_installmenu + # extra dh_installinit calls needed to create run dirs with tmpfiles.d + # and install service files (they are not copied automatically if having + # only calls of dh_installinit without specific "name" for the service + # files) dh_installinit --name=kamailio-lb dh_installinit --name=kamailio-proxy + dh_installinit --name=ngcp-kamailio + dh_installinit --name=ngcp-kamailio-radius-modules dh_installcron dh_installman dh_installinfo