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

Bug#1063554: firmware-linux-free: move files to /usr (DEP17)



Package: firmware-linux-free
Version: 20200122-2
Tags: patch
User: helmutg@debian.org
Usertags: dep17m2

Hi,

we want to finalize the /usr-merge transition by moving all aliased
files from / to /usr via DEP17 to avoid any negative effects arising
from aliasing. firmware-linux-free is involved, because it installs
firmware files below /lib/firmware. Since it cannot be converted
automatically using dh-sequence-movetousr, I'm attaching a patch. This
patch should not be uploaded to bookworm-backports or earlier. Also note
that firmware-carl9170 is in the process of taking over firmware from
firmware-linux-free and doing so will cause a file loss (DEP17 P1). This
is tracked as #1050989. I do not expect that firmware-linux-free needs
to support firmware-carl9170 in mitigating this.

Helmut
diff --minimal -Nru firmware-free-20200122/debian/changelog firmware-free-20200122/debian/changelog
--- firmware-free-20200122/debian/changelog	2023-08-20 21:56:54.000000000 +0200
+++ firmware-free-20200122/debian/changelog	2024-02-09 15:42:17.000000000 +0100
@@ -1,3 +1,10 @@
+firmware-free (20200122-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Move files to /usr (DEP17). (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Fri, 09 Feb 2024 15:42:17 +0100
+
 firmware-free (20200122-2) unstable; urgency=medium
 
   [ Ben Hutchings ]
diff --minimal -Nru firmware-free-20200122/debian/rules.real firmware-free-20200122/debian/rules.real
--- firmware-free-20200122/debian/rules.real	2023-08-20 21:39:29.000000000 +0200
+++ firmware-free-20200122/debian/rules.real	2024-02-09 15:42:07.000000000 +0100
@@ -15,7 +15,7 @@
 	dh_prep
 	@for i in $(FILES); do \
 	  s="$${i%:*}"; \
-	  d=/lib/firmware/"$${i#*:}"; \
+	  d=/usr/lib/firmware/"$${i#*:}"; \
 	  echo install -m644 -D "$$s" debian/$(PACKAGE_NAME)"$$d"; \
 	  install -m644 -D "$$s" debian/$(PACKAGE_NAME)"$$d"; \
 	done

Reply to: