Control: tags -1 + patch

On Fri, 12 Dec 2025 14:52:17 +0100 [email protected] wrote:
Source: open-vm-tools
Version: 13.0.5-1
Severity: normal
User: [email protected]
Usertags: dh_movetousr_removal

Hi,

your package open-vm-tools either Build-Depends on
dh-sequence-movetousr or uses dh_movetousr conditionally to move
files from aliased locations like /sbin, /bin or /lib to the
canonical location in /usr.

Eventually, we would like to get rid of this debhelper addon.
Packages should use the canonical paths without any postprocessing.

This means, files are installed directly into /usr.

Please note, that such a change must not be backported to bookworm or
older. If you intend to provide such backports, these changes must be
reverted for those releases. If this means an undue burden on your
workflow our recommendation is to postpone this cleanup.

The motivation for this bug report is, to inform maintainers, that
installing files into the canonical location explicitly, is now the
preferred approach and dh_movetousr is now a deprecated tool.

The goal is, to have dh_movetousr removed after forky is released. We
can revise this plan, if needed. Please keep this timeline in mind
and let us know if this doesn't work for you.

For more information see [1].

If you have further questions, there is an IRC channel named
#debian-usrmerge on OFTC.

Regards,

Michael

[1] https://lists.debian.org/debian-devel/2025/11/msg00245.html



Please find attached a patch which implements this change for your convenience.


Regards,
Michael
diff -Nru open-vm-tools-13.0.10/debian/changelog 
open-vm-tools-13.0.10/debian/changelog
--- open-vm-tools-13.0.10/debian/changelog      2026-01-28 10:49:51.000000000 
+0100
+++ open-vm-tools-13.0.10/debian/changelog      2026-07-05 15:57:31.000000000 
+0200
@@ -1,3 +1,12 @@
+open-vm-tools (2:13.0.10-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Avoid usage of dh_movetousr.
+    Install systemd files directly into /usr and get the correct udev rules
+    dir location via udev.pc (provided by systemd-dev). (Closes: #1122766)
+
+ -- Michael Biebl <[email protected]>  Sun, 05 Jul 2026 15:57:31 +0200
+
 open-vm-tools (2:13.0.10-1) unstable; urgency=medium
 
   * [b920ae7] New upstream version 13.0.10
diff -Nru open-vm-tools-13.0.10/debian/control 
open-vm-tools-13.0.10/debian/control
--- open-vm-tools-13.0.10/debian/control        2026-01-28 10:49:51.000000000 
+0100
+++ open-vm-tools-13.0.10/debian/control        2026-07-05 15:57:31.000000000 
+0200
@@ -4,7 +4,7 @@
 Maintainer: Bernd Zeimetz <[email protected]>
 Uploaders: Christian Ehrhardt <[email protected]>
 Build-Depends:
- debhelper-compat (= 13), dh-sequence-movetousr,
+ debhelper-compat (= 13),
  doxygen, libcunit1-dev,
  libfuse3-dev, libgtkmm-3.0-dev, libgtk-3-dev,
  libicu-dev, libnotify-dev, libpam0g-dev, libx11-dev,
@@ -13,6 +13,7 @@
  libssl-dev,
  libxmlsec1-dev,
  libudev-dev,
+ systemd-dev,
  libdrm-dev,
  liblzma-dev,
  libcurl4-openssl-dev,
diff -Nru open-vm-tools-13.0.10/debian/rules open-vm-tools-13.0.10/debian/rules
--- open-vm-tools-13.0.10/debian/rules  2026-01-28 10:49:51.000000000 +0100
+++ open-vm-tools-13.0.10/debian/rules  2026-07-05 15:57:06.000000000 +0200
@@ -36,7 +36,7 @@
        install -D -m 0644 debian/local/xautostart.conf 
debian/open-vm-tools-desktop/etc/vmware-tools/xautostart.conf
        install -D -m 0644 debian/local/tools.conf 
debian/open-vm-tools/etc/vmware-tools/tools.conf
 
-       install -D -m 0644 debian/local/run-vmblock\\x2dfuse.mount 
debian/open-vm-tools-desktop/lib/systemd/system/run-vmblock\\x2dfuse.mount
+       install -D -m 0644 debian/local/run-vmblock\\x2dfuse.mount 
debian/open-vm-tools-desktop/usr/lib/systemd/system/run-vmblock\\x2dfuse.mount
        install -D -m 0644 debian/local/open-vm-tools-desktop.conf 
debian/open-vm-tools-desktop/usr/lib/modules-load.d/open-vm-tools-desktop.conf
 
        # open-vm-tools-dev
@@ -71,8 +71,8 @@
        mv debian/open-vm-tools/etc/xdg/autostart/vmware-user.desktop 
debian/open-vm-tools-desktop/etc/xdg/autostart
        rm -rf debian/open-vm-tools/etc/xdg
 
-       mkdir -p 
debian/open-vm-tools-desktop/lib/systemd/system/open-vm-tools.service.d
-       cp debian/desktop.conf 
debian/open-vm-tools-desktop/lib/systemd/system/open-vm-tools.service.d/
+       mkdir -p 
debian/open-vm-tools-desktop/usr/lib/systemd/system/open-vm-tools.service.d
+       cp debian/desktop.conf 
debian/open-vm-tools-desktop/usr/lib/systemd/system/open-vm-tools.service.d/
 
        mkdir -p 
debian/open-vm-tools-sdmp/usr/lib/$(DEB_HOST_MULTIARCH)/open-vm-tools/plugins/vmsvc/
        mv 
debian/open-vm-tools/usr/lib/$(DEB_HOST_MULTIARCH)/open-vm-tools/plugins/vmsvc/libserviceDiscovery.so
 
debian/open-vm-tools-sdmp/usr/lib/$(DEB_HOST_MULTIARCH)/open-vm-tools/plugins/vmsvc/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to