Source: bcachefs-tools
Version: 24+really1.3.4-1
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 bcachefs-tools-24+really1.3.4/debian/changelog bcachefs-tools-24+really1.3.4/debian/changelog
--- bcachefs-tools-24+really1.3.4/debian/changelog	2023-11-21 16:26:13.000000000 +0100
+++ bcachefs-tools-24+really1.3.4/debian/changelog	2023-12-23 21:19:30.000000000 +0100
@@ -1,3 +1,10 @@
+bcachefs-tools (24+really1.3.4-1.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:19:30 +0100
+
 bcachefs-tools (24+really1.3.4-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru bcachefs-tools-24+really1.3.4/debian/rules bcachefs-tools-24+really1.3.4/debian/rules
--- bcachefs-tools-24+really1.3.4/debian/rules	2023-10-28 19:12:56.000000000 +0200
+++ bcachefs-tools-24+really1.3.4/debian/rules	2023-12-23 21:19:30.000000000 +0100
@@ -5,6 +5,7 @@
 export NO_RUST=-true
 
 PREFIX := /usr
+ROOT_SBINDIR := /usr/sbin
 
 DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
@@ -17,6 +18,6 @@
 	dh $@
 
 override_dh_auto_install:
-	dh_auto_install -- "PREFIX=$(PREFIX)"
+	dh_auto_install -- "PREFIX=$(PREFIX)" "ROOT_SBINDIR=$(ROOT_SBINDIR)"
 
 override_dh_auto_test:

Reply via email to