]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - debian/changelog
Enable Rust parts, including mount.bcachefs.
[bcachefs-tools-debian] / debian / changelog
index 7007b3c4d2ae1acb076433615c0ee84d62919c5a..8a4202d87f443c32076cddeeaf66f7c94dcee0a0 100644 (file)
@@ -8,6 +8,24 @@ bcachefs-tools (1:1.6.3-0.1) UNRELEASED; urgency=medium
       hack that makes bcachefs-tools work with bindgen older than 0.69.4
       (which isn't in Debian yet).
   * Build-depend on systemd-dev, since udev.pc has moved there.
+  * Enable Rust parts, including mount.bcachefs. (Closes: #1060256)
+    * Include the right .mk flags to get DEB_HOST_RUST_TYPE etc., and
+      export that (needed for Debian's cargo wrapper).
+    * Override CARGO, and set CARGO_HOME during installation.
+    * Run prepare-debian in dh_auto_configure, and clean up the vendor dir
+      in dh_auto_clean.
+    * Remove Cargo.lock before the build, so that we can use Debian's versions
+      of all Rust crates. Also remove it in dh_auto_clean, so that it does not
+      take a diff.
+    * revert-bindgen-changes.patch: New patch, loosen required versions
+      of Rust crates
+      - errno (0.2 -> >= 0.2, < 1; Debian has 0.4)
+      - udev (0.7 -> >= 0.7, < 1; Debian has 0.8)
+      - memoffset (0.8.0 -> 0.6; Debian has 0.6.5, so a downgrade)
+      - paste (1.0.11 -> 1.0; Debian has 1.0.8, so a downgrade)
+      - bindgen (0.69.4 -> 0.66; see revert-bindgen-changes.patch above)
+    * Add build-dependency on all relevant Rust crates, and on python3:native
+      due to use of the Cargo wrapper.
 
  -- Steinar H. Gunderson <sesse@debian.org>  Wed, 21 Feb 2024 19:32:51 +0100