Package: etckeeper
Version: 1.18.20-1.1
Severity: normal
Tags: patch
User: helm...@debian.org
Usertags: dep17m2

Hi,

Your package installs systemd units into /lib/systemd/system.  For the
ongoing Debian UsrMerge effort [1] these files should move to /usr in
the trixie cycle.

There are several ways to achieve this, the simplest one is probably to
add dh-sequence-movetousr to Build-Depends, so that the helper tool
dh_movetousr does the job.  See the attached build-tested patch.

Cheers,
       Sven


[1] https://wiki.debian.org/UsrMerge

From 7b9cbc1f9e6b12d1c367eaac176c007d24f1ac81 Mon Sep 17 00:00:00 2001
From: Sven Joachim <svenj...@gmx.de>
Date: Wed, 10 Jan 2024 17:31:53 +0100
Subject: [PATCH] Build-depend on dh-sequence-movetousr

This moves the systemd units into /usr/lib/systemd/system in trixie
and later, while keeping them in /lib/systemd/system in
bookworm-backports.
---
 debian/control | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/control b/debian/control
index 3729659..8d0cb4b 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Build-Depends: debhelper-compat (= 13),
                bats,
                brz,
                dh-python,
+               dh-sequence-movetousr,
                fakeroot,
                git,
                python3:any,
--
2.43.0

Reply via email to