Source: qemu
Version: 1:8.2.0+ds-4
Severity: normal
Tags: patch
User: helm...@debian.org
Usertags: dep17m2

Your package installs /lib/systemd/system/run-qemu.mount. For the
ongoing Debian UsrMerge effort [1] this file should move to /usr in
the trixie cycle.

I'm attaching a patch to use dh_movetousr to move it. The patch
should also work on bookworm and earlier, and silently do nothing.

Might still be worth a trip through experimental, to get this
checked by dumat. If after a few days you got no new bugs from
dumat, please upload to unstable.

If during the trixie cycle your package will undergo structural
changes or any other file moves, please also see the wiki and upload
to experimental first when these changes are done.

Chris

[1] https://wiki.debian.org/UsrMerge
diff -Nru qemu-8.2.0+ds/debian/changelog qemu-8.2.0+ds/debian/changelog
--- qemu-8.2.0+ds/debian/changelog	2024-01-04 20:47:59.000000000 +0100
+++ qemu-8.2.0+ds/debian/changelog	2024-01-05 19:33:51.000000000 +0100
@@ -1,3 +1,11 @@
+qemu (1:8.2.0+ds-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Use dh_movetousr to move mount unit into /usr/lib.
+    Should backport cleanly to older releases. 
+
+ -- Chris Hofstaedtler <z...@debian.org>  Fri, 05 Jan 2024 19:33:51 +0100
+
 qemu (1:8.2.0+ds-4) unstable; urgency=medium
 
   * d/rules: fix "tail -20" usage
diff -Nru qemu-8.2.0+ds/debian/rules qemu-8.2.0+ds/debian/rules
--- qemu-8.2.0+ds/debian/rules	2024-01-04 20:43:38.000000000 +0100
+++ qemu-8.2.0+ds/debian/rules	2024-01-05 19:33:51.000000000 +0100
@@ -734,6 +734,7 @@
 binary: install-arch install-indep binary-helper
 binary: a=
 binary-helper:
+	if command -v dh_movetousr; then dh_movetousr $a; fi
 	dh_installdeb $a
 	dh_gencontrol $a
 	dh_md5sums $a

Reply via email to