From b106d5bb0ee74d061c86b6069f66bcf196819f3d Mon Sep 17 00:00:00 2001 From: Manuel Montecelo Date: Tue, 20 Mar 2018 12:56:58 +0100 Subject: [PATCH] TT#26264 Rename tmpfiles.d file to avoid code in d/rules According to Guillem (thanks to him) in a comment to another package: "Actually dh_installinit already handles these files in stretch you just need to name it debian/pkgname.tmpfile." Change-Id: I43f23be57fb4c19adaeebb9f4e522d24816ca018 --- debian/{ngcp-sems.tmpfiles.d.conf => ngcp-sems.tmpfiles} | 0 debian/rules | 5 ----- 2 files changed, 5 deletions(-) rename debian/{ngcp-sems.tmpfiles.d.conf => ngcp-sems.tmpfiles} (100%) diff --git a/debian/ngcp-sems.tmpfiles.d.conf b/debian/ngcp-sems.tmpfiles similarity index 100% rename from debian/ngcp-sems.tmpfiles.d.conf rename to debian/ngcp-sems.tmpfiles diff --git a/debian/rules b/debian/rules index 30639dff..85d01ab8 100755 --- a/debian/rules +++ b/debian/rules @@ -45,11 +45,6 @@ override_dh_auto_install: dh_python2 dh_python2 /usr/lib/$(APP_NAME) - # config file needed to create cache and run dirs with tmpfiles.d (there - # is no .install file to make ) - mkdir -p $(CURDIR)/debian/$(APP_NAME)/usr/lib/tmpfiles.d/ - cp $(CURDIR)/debian/ngcp-sems.tmpfiles.d.conf $(CURDIR)/debian/$(APP_NAME)/usr/lib/tmpfiles.d/ngcp-sems.conf - override_dh_strip: dh_strip --dbgsym-migration='$(APP_NAME)-dbg (<= 1:1.6.0-1+0~mr6.0.0.0)' # MT#7431 those binaries aren't automatically stripped