Source: nvidia-support Version: 20220217+3 Severity: normal Tags: patch User: helm...@debian.org Usertags: dep17m2
Dear Maintainer, your package installs files related to udev, into /lib/udev. These files need to be moved to /usr/lib as part of Debian's usr-merge effort [1]. Attached you will find a patch to delegate the exact placement of the udev files to udev.pc (using pkg-config). This should work today in unstable and, if necessary, for bookworm. Once udev.pc in unstable points to /usr/lib your package will benefit automatically after a binNMU or any other upload. Note: the udev rule installed by dh_installudev will move when dh_installudev is updated. Later during the trixie cycle I expect this bug class to raise in priority. Per the wiki, it is advisable to upload to experimental first, and wait a few days for the dumat tool to check your package. The same is advisable when any structural changes are done in the trixie cycle. Thank you for considering, Chris [1] https://wiki.debian.org/UsrMerge
diff -Nru nvidia-support-20220217+3/debian/changelog nvidia-support-20220217+3+nmu1/debian/changelog --- nvidia-support-20220217+3/debian/changelog 2023-06-12 16:55:42.000000000 +0200 +++ nvidia-support-20220217+3+nmu1/debian/changelog 2023-12-07 22:28:54.000000000 +0100 @@ -1,3 +1,9 @@ +nvidia-support (20220217+3+nmu1) UNRELEASED; urgency=medium + + * Delegate placement of udev files to udev.pc. (Closes: #-1) + + -- Chris Hofstaedtler <z...@debian.org> Thu, 07 Dec 2023 22:28:54 +0100 + nvidia-support (20220217+3) unstable; urgency=medium * nvidia-installer-cleanup: Add Breaks against obsolete nvidia-*-dkms diff -Nru nvidia-support-20220217+3/debian/control nvidia-support-20220217+3+nmu1/debian/control --- nvidia-support-20220217+3/debian/control 2023-06-12 16:55:42.000000000 +0200 +++ nvidia-support-20220217+3+nmu1/debian/control 2023-12-07 22:27:02.000000000 +0100 @@ -7,7 +7,9 @@ Luca Boccassi <bl...@debian.org>, Build-Depends: debhelper-compat (= 13), + pkgconf, po-debconf, + systemd-dev, Rules-Requires-Root: no Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/nvidia-team/nvidia-support diff -Nru nvidia-support-20220217+3/debian/nvidia-kernel-common.install nvidia-support-20220217+3+nmu1/debian/nvidia-kernel-common.install --- nvidia-support-20220217+3/debian/nvidia-kernel-common.install 2023-06-12 16:55:42.000000000 +0200 +++ nvidia-support-20220217+3+nmu1/debian/nvidia-kernel-common.install 2023-12-07 22:28:46.000000000 +0100 @@ -1,2 +1,2 @@ nvidia_helper.ck /usr/lib/ConsoleKit/run-seat.d/ -nvidia_helper /lib/udev/ +nvidia_helper ${env:deb_udevdir} diff -Nru nvidia-support-20220217+3/debian/rules nvidia-support-20220217+3+nmu1/debian/rules --- nvidia-support-20220217+3/debian/rules 2023-06-12 16:55:42.000000000 +0200 +++ nvidia-support-20220217+3+nmu1/debian/rules 2023-12-07 22:28:37.000000000 +0100 @@ -1,4 +1,6 @@ #!/usr/bin/make -f +export deb_udevdir = $(shell pkg-config --variable=udevdir udev) + %: dh $@