Source: earlyoom Version: 1.7-1 Tags: patch User: helm...@debian.org Usertags: dep17m2
We want to move files from / to /usr as part of finalizing the /usr-merge transition via DEP17. earlyoom is involved, because it installs a systemd unit to /lib. Rather than just moving it to /usr, I recommend deferring its placement to systemd.pc, because that'll cause backports to bookworm to stick with /lib and hence honour the file move moratorium that still is in effect for bookworm. I'm attaching a patch for your convenience. This change will have no effect until systemd.pc changes at which point we can binNMU your package. Helmut
diff -Nru earlyoom-1.7/debian/changelog earlyoom-1.7/debian/changelog --- earlyoom-1.7/debian/changelog 2022-03-09 10:01:41.000000000 +0100 +++ earlyoom-1.7/debian/changelog 2023-10-15 18:35:43.000000000 +0200 @@ -1,3 +1,10 @@ +earlyoom (1.7-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Defer placement of systemd units to systemd.pc. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 15 Oct 2023 18:35:43 +0200 + earlyoom (1.7-1) unstable; urgency=medium * New upstream release diff -Nru earlyoom-1.7/debian/control earlyoom-1.7/debian/control --- earlyoom-1.7/debian/control 2022-03-09 10:01:41.000000000 +0100 +++ earlyoom-1.7/debian/control 2023-10-15 18:35:42.000000000 +0200 @@ -8,6 +8,8 @@ debhelper-compat (= 13), golang-any, pandoc, + pkgconf, + systemd-dev, Rules-Requires-Root: no Standards-Version: 4.5.0 Homepage: https://github.com/rfjakob/earlyoom diff -Nru earlyoom-1.7/debian/rules earlyoom-1.7/debian/rules --- earlyoom-1.7/debian/rules 2022-03-09 10:01:41.000000000 +0100 +++ earlyoom-1.7/debian/rules 2023-10-15 18:35:20.000000000 +0200 @@ -11,7 +11,7 @@ export VERSION := v$(DEB_VERSION_UPSTREAM) export PREFIX := /usr -export SYSTEMDUNITDIR := /lib/systemd/system +export SYSTEMDUNITDIR := $(shell pkgconf --variable=systemdsystemunitdir systemd) %: