diff options
author | Guido Günther <agx@sigxcpu.org> | 2018-04-15 14:17:00 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2018-04-15 19:55:03 +0200 |
commit | 78872ccfe7639713d72c5ff9718e465da142f3a0 (patch) | |
tree | 1aed6a9470add29bb826eddff3e41ab051cf6440 /debian | |
parent | a7198e5ddcf5abcd76ac003d4840ffb63e8630c4 (diff) |
Ship logrotate snippets again
Closes: #895709
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/rules | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules index cc60183c5..a2f277a36 100755 --- a/debian/rules +++ b/debian/rules @@ -147,7 +147,7 @@ LIBVIRT_SYSTEM_SERVICES = \ DEB_BUILDDIR := $(CURDIR)/debian/build -LOGROTATE = $(basename $(basename $(notdir $(wildcard daemon/libvirtd*.logrotate.in)))) +LOGROTATE = $(basename $(basename $(notdir $(wildcard src/remote/libvirtd*.logrotate.in)))) EXAMPLES_DIR = $(CURDIR)/debian/libvirt-doc/usr/share/doc/libvirt-doc/examples/ %: @@ -204,8 +204,8 @@ ifeq ($(XEN_ENABLED), 1) dh_install -p libvirt-daemon-system etc/libvirt/libxl-lockd.conf endif - for l in $(LOGROTATE); do \ - cp $(CURDIR)/debian/build/daemon/$$l.logrotate \ + set -e; for l in $(LOGROTATE); do \ + cp $(CURDIR)/debian/tmp/etc/logrotate.d/$$l \ debian/libvirt-daemon-system.$$l.logrotate; \ dh_installlogrotate --name=$$l; \ done |