Source: bluez-firmware
Version: 1.2-9
Severity: normal
Tags: patch
User: helm...@debian.org
Usertags: dep17m2

Hi!

Your package installs files directly into /. For the ongoing Debian UsrMerge
effort [1] these files should move to /usr in the trixie cycle.

I'm attaching a patch to implement such a move.

However, please still read the wiki page on moving files, especially if you
intend to backport to bookworm or earlier. The patch has already been checked
by a local dumat copy.

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 bluez-firmware-1.2/debian/changelog bluez-firmware-1.2/debian/changelog
--- bluez-firmware-1.2/debian/changelog	2023-01-28 04:00:16.000000000 +0100
+++ bluez-firmware-1.2/debian/changelog	2023-12-23 21:28:15.000000000 +0100
@@ -1,3 +1,10 @@
+bluez-firmware (1.2-9.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install files into /usr instead of /. (Closes: #-1)
+
+ -- Chris Hofstaedtler <z...@debian.org>  Sat, 23 Dec 2023 21:28:15 +0100
+
 bluez-firmware (1.2-9) unstable; urgency=medium
 
   * Move source and binary from non-free/kernel to non-free-firmware/kernel
diff -Nru bluez-firmware-1.2/debian/rules bluez-firmware-1.2/debian/rules
--- bluez-firmware-1.2/debian/rules	2023-01-17 00:01:20.000000000 +0100
+++ bluez-firmware-1.2/debian/rules	2023-12-23 21:28:14.000000000 +0100
@@ -6,14 +6,14 @@
 	dh $@
 
 override_dh_auto_configure:
-	dh_auto_configure -- --libdir=/lib
+	dh_auto_configure -- --libdir=/usr/lib
 
 override_dh_auto_install:
 	dh_auto_install
 	mkdir -p $(DEB_DESTDIR)/usr/share/doc/bluez-firmware
-	mv $(DEB_DESTDIR)/lib/firmware/BCM-LEGAL.txt  \
+	mv $(DEB_DESTDIR)/usr/lib/firmware/BCM-LEGAL.txt  \
 		$(DEB_DESTDIR)/usr/share/doc/bluez-firmware/
 	# Copy firmware of Raspberry Pi
-	mkdir -p $(DEB_DESTDIR)/lib/firmware/brcm
+	mkdir -p $(DEB_DESTDIR)/usr/lib/firmware/brcm
 	cp $(CURDIR)/debian/firmware/broadcom/*.hcd \
-		$(DEB_DESTDIR)/lib/firmware/brcm/.
+		$(DEB_DESTDIR)/usr/lib/firmware/brcm/.

Reply via email to