Package: logrotate
Version: 3.21.0-1
Tags: patch
User: [email protected]
Usertags: dep17m2

Hi,

we want to finalize the /usr-merge via DEP17 by moving all files to
/usr. logrotate is affected as it is installed by debootstrap and ships
systemd units below /lib. These are not automatically moved by
debhelper, because their location is hard coded in debian/*.install.
Consider installing them using dh_installsystemd in a way that
automatically supports backporting. The patch is not expressible via
debdiff due to the use of symlinks, so here is a shell script to be run
from an unpacked source package:

    sed -i -e '/lib\/systemd\/system/d' debian/logrotate.install
    ln -s ../examples/logrotate.service debian/logrotate.service
    ln -s ../examples/logrotate.timer debian/logrotate.timer

I do not expect any issues arising from this as many other packages are
doing the same change in binNMUs or sourceful uploads with no relevant
changes already.

Helmut

Reply via email to