Source: osmo-pcu Version: 1.1.0-2 Tags: patch User: helm...@debian.org Usertags: deb17m2
We want to move aliased files from / to /usr to finalize the /usr-merge transition via DEP17. In theory, osmo-pcu is covered, because it uses dh_installsystemd. Unfortunately, the upstream build system also installs a unit to /lib. Once dh_installsystemd installs units to /usr, osmo-pcu will ship units in both /lib/systemd and /usr/lib/systemd. Doing so violates policy. I'm attaching a patch that should be a noop now and skips installing the upstream unit in favour of the Debian one to resolve this conflict. Helmut
diff -Nru osmo-pcu-1.1.0/debian/changelog osmo-pcu-1.1.0/debian/changelog --- osmo-pcu-1.1.0/debian/changelog 2022-10-11 22:13:53.000000000 +0200 +++ osmo-pcu-1.1.0/debian/changelog 2023-10-16 17:52:34.000000000 +0200 @@ -1,3 +1,10 @@ +osmo-pcu (1.1.0-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Do not install conflicting systemd units. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 16 Oct 2023 17:52:34 +0200 + osmo-pcu (1.1.0-2) unstable; urgency=medium * upload to unstable diff -Nru osmo-pcu-1.1.0/debian/rules osmo-pcu-1.1.0/debian/rules --- osmo-pcu-1.1.0/debian/rules 2022-10-11 22:13:53.000000000 +0200 +++ osmo-pcu-1.1.0/debian/rules 2023-10-16 17:52:34.000000000 +0200 @@ -23,7 +23,7 @@ $(RM) .tarball-version override_dh_auto_configure: - dh_auto_configure -- --with-systemdsystemunitdir=/lib/systemd/system + dh_auto_configure -- --with-systemdsystemunitdir=no # Print test results in case of a failure override_dh_auto_test: