[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1057241: fwupd: will FTBFS when udev.pc changes udevdir



Source: fwupd
Version: 1.9.9-2
Severity: normal
Tags: ftbfs patch
User: helmutg@debian.org
Usertags: dep17m2

Dear Maintainer,

your package installs a udev rule, great. For the ongoing UsrMerge effort
[1], we want to change "udevdir" in udev.pc. When this happens, your
package will FTBFS. The upstream build system will install the udev rules
into the new path, but the Debian packaging expects them in the old path.

For your convenience I'm attaching a patch to fix this.
Also available as a merge request on salsa:
   https://salsa.debian.org/efi-team/fwupd/-/merge_requests/12

Please apply at your earliest convenience. Per the wiki [1], it is useful
to first upload to experimental and wait a few days for the dumat tool
evaluating the change, and only then upload to unstable.

I expect udev.pc will change soon, and then this bug will become
release-critical.

Thanks for considering,
Chris

[1] https://wiki.debian.org/UsrMerge

diff -Nru fwupd-1.9.9/debian/changelog fwupd-1.9.9/debian/changelog
--- fwupd-1.9.9/debian/changelog	2023-11-25 14:36:55.000000000 +0100
+++ fwupd-1.9.9/debian/changelog	2023-12-02 01:43:42.000000000 +0100
@@ -1,3 +1,10 @@
+fwupd (1.9.9-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Use udevdir from udev.pc to determine udev rules install path.
+
+ -- Chris <zeha@debian.org>  Sat, 02 Dec 2023 01:43:42 +0100
+
 fwupd (1.9.9-2) unstable; urgency=medium
 
   * Backport a patch to fix probing on amd-gpu.
diff -Nru fwupd-1.9.9/debian/fwupd.install fwupd-1.9.9/debian/fwupd.install
--- fwupd-1.9.9/debian/fwupd.install	2023-11-25 14:36:49.000000000 +0100
+++ fwupd-1.9.9/debian/fwupd.install	2023-12-02 01:43:42.000000000 +0100
@@ -13,7 +13,6 @@
 usr/libexec/fwupd/*
 usr/lib/sysusers.d/*
 usr/share/man/*
-lib/udev/rules.d/*
 data/fwupd.conf etc/fwupd
 debian/fwupd.pkla /var/lib/polkit-1/localauthority/10-vendor.d
 usr/lib/*/fwupd-*/*.so

Reply to: