[Pkg-raspi-maintainers] Bug#1092279: rpi.gpio-common: /usr/lib/udev/rules.d/60-rpi.gpio-common.rules may get lost in upgrade due to /usr-move (DEP17)

Chris Hofstaedtler zeha at debian.org
Thu Mar 6 09:58:47 GMT 2025


Control: tags -1 + pending patch

I've prepared an NMU and uploaded it to DELAYED/5, taking Helmut's 
minimal approach (drop M-A: same).

Chris

-------------- next part --------------
>From f45b8a252dcc411c5daa0d8c4248474c464607da Mon Sep 17 00:00:00 2001
From: Chris Hofstaedtler <zeha at debian.org>
Date: Thu, 6 Mar 2025 10:54:12 +0100
Subject: [PATCH 1/2] Disable Multi-Arch: same for trixie to avoid DEP17 file
 loss

Minimal workaround as suggested by Helmut Grohne <helmut at subdivi.de>.

Gbp-Dch: full
Closes: #1092279
---
 debian/control | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 2d32072..9129f9b 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,12 @@ Vcs-Browser: https://salsa.debian.org/raspi-team/rpi.gpio
 
 Package: rpi.gpio-common
 Architecture: arm64 armel armhf
-Multi-Arch: same
+#Multi-Arch: same
+# begin-remove-after: released:trixie
+# Avoid being Multi-Arch: same for the trixie upgrade to avoid a DEP17
+# P7 file loss of the udev fules file being moved from /lib to /usr/lib.
+Multi-Arch: no
+# end-remove-after
 Depends:
  ${misc:Depends},
 Description: Module to control Raspberry Pi GPIO channels (common files)
-- 
2.47.2

-------------- next part --------------
>From 33b26d4cc3651c1f096730120f7d063d6cd6f758 Mon Sep 17 00:00:00 2001
From: Chris Hofstaedtler <zeha at debian.org>
Date: Thu, 6 Mar 2025 10:55:18 +0100
Subject: [PATCH 2/2] Update changelog for 0.7.1~a4-1.2 release

---
 debian/changelog | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 78eaf46..3f562a9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+rpi.gpio (0.7.1~a4-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Disable Multi-Arch: same for trixie to avoid DEP17 file loss.
+    Minimal workaround as suggested by Helmut Grohne <helmut at subdivi.de>.
+    (Closes: #1092279)
+
+ -- Chris Hofstaedtler <zeha at debian.org>  Thu, 06 Mar 2025 10:55:03 +0100
+
 rpi.gpio (0.7.1~a4-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
-- 
2.47.2



More information about the Pkg-raspi-maintainers mailing list