diff options
author | koverstreet <kent.overstreet@gmail.com> | 2025-09-17 21:59:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-17 21:59:49 -0400 |
commit | 2183399401fb810f2df0fa315759fe42237fcf08 (patch) | |
tree | c507d435da9464497bb045c2970aaabb2cee1420 /debian | |
parent | 99aafa9c40b697086d36668fb7cbadcab604bc94 (diff) | |
parent | a235493c29aa8c38625a4390b5d57d246c87878e (diff) |
Debian: split DKMS into separate binary package
Diffstat (limited to 'debian')
-rw-r--r-- | debian/bcachefs-kernel-dkms.dkms (renamed from debian/dkms) | 0 | ||||
-rw-r--r-- | debian/bcachefs-kernel-dkms.install | 3 | ||||
-rw-r--r-- | debian/bcachefs-tools.install | 9 | ||||
-rw-r--r-- | debian/bcachefs-tools.postinst | 14 | ||||
-rw-r--r-- | debian/bcachefs-tools.postrm | 14 | ||||
-rw-r--r-- | debian/bcachefs.triggers | 1 | ||||
-rw-r--r-- | debian/changelog | 8 | ||||
-rw-r--r-- | debian/control | 54 |
8 files changed, 68 insertions, 35 deletions
diff --git a/debian/dkms b/debian/bcachefs-kernel-dkms.dkms index 23dad369..23dad369 100644 --- a/debian/dkms +++ b/debian/bcachefs-kernel-dkms.dkms diff --git a/debian/bcachefs-kernel-dkms.install b/debian/bcachefs-kernel-dkms.install new file mode 100644 index 00000000..954cc1b3 --- /dev/null +++ b/debian/bcachefs-kernel-dkms.install @@ -0,0 +1,3 @@ +usr/share/initramfs-tools/hooks/bcachefs +usr/share/initramfs-tools/scripts/local-premount/bcachefs +usr/src/bcachefs-* diff --git a/debian/bcachefs-tools.install b/debian/bcachefs-tools.install new file mode 100644 index 00000000..c2d883de --- /dev/null +++ b/debian/bcachefs-tools.install @@ -0,0 +1,9 @@ +usr/lib/udev/rules.d/64-bcachefs.rules +usr/sbin/bcachefs +usr/sbin/fsck.bcachefs +usr/sbin/fsck.fuse.bcachefs +usr/sbin/mkfs.bcachefs +usr/sbin/mkfs.fuse.bcachefs +usr/sbin/mount.bcachefs +usr/sbin/mount.fuse.bcachefs +usr/share/man/man8/bcachefs.8 diff --git a/debian/bcachefs-tools.postinst b/debian/bcachefs-tools.postinst deleted file mode 100644 index 56dd8905..00000000 --- a/debian/bcachefs-tools.postinst +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -set -e - -#DEBHELPER# - -case "$1" in - configure) - if which update-initramfs >/dev/null; then - update-initramfs -u - fi - ;; -esac - diff --git a/debian/bcachefs-tools.postrm b/debian/bcachefs-tools.postrm deleted file mode 100644 index 2d913367..00000000 --- a/debian/bcachefs-tools.postrm +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -set -e - -#DEBHELPER# - -case "$1" in - remove) - if which update-initramfs >/dev/null; then - update-initramfs -u - fi - ;; -esac - diff --git a/debian/bcachefs.triggers b/debian/bcachefs.triggers deleted file mode 100644 index 6c9f4543..00000000 --- a/debian/bcachefs.triggers +++ /dev/null @@ -1 +0,0 @@ -activate update-initramfs diff --git a/debian/changelog b/debian/changelog index ae21498f..01295893 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,14 @@ +bcachefs-tools (1:1.31.1~1) unstable; urgency=medium + + * Split DKMS into separate binary package + + -- Roman Lebedev <lebedev.ri@gmail.com> Thu, 18 Sep 2025 03:01:17 +0300 + bcachefs-tools (1:1.31.1) unstable; urgency=medium * DKMS support - -- Kent Overstreet <kent.overstreet@linux.dev> Wed Sep 17 06:31:34 PM EDT 2025 + -- Kent Overstreet <kent.overstreet@linux.dev> Wed, 17 Sep 2025 18:31:34 -0400 bcachefs-tools (1:1.31.0) unstable; urgency=medium diff --git a/debian/control b/debian/control index 1ba91942..4afd99f0 100644 --- a/debian/control +++ b/debian/control @@ -26,17 +26,61 @@ Build-Depends: debhelper-compat (= 13), uuid-dev, zlib1g-dev, Homepage: https://bcachefs.org/ -Vcs-Git: https://salsa.debian.org/debian/bcachefs-tools.git -Vcs-Browser: https://salsa.debian.org/debian/bcachefs-tools +Vcs-Git: git://evilpiepirate.org/bcachefs-tools.git +Vcs-Browser: https://evilpiepirate.org/git/bcachefs-tools.git Package: bcachefs-tools Architecture: linux-any Depends: ${shlibs:Depends}, ${misc:Depends}, python3:any -Recommends: initramfs-tools | linux-initramfs-tool +Recommends: bcachefs-kernel-dkms (= ${binary:Version}), + initramfs-tools | linux-initramfs-tool, +Breaks: bcachefs-kernel-dkms (<< ${binary:Version}), + bcachefs-kernel-dkms (>> ${binary:Version}), Description: bcachefs userspace tools Userspace tools for bcachefs, a modern copy on write, checksumming, multi device filesystem. . Note: The current Debian kernels do not come with bcachefs support, you - will have to use your own kernel or one provided by a 3rd party that - contains bcachefs support. + will have to install bcachefs-kernel-dkms package or build your own kernel + or one provided by a 3rd party that contains bcachefs support. + +Package: bcachefs-kernel-dkms +Architecture: linux-any +Depends: ${shlibs:Depends}, ${misc:Depends}, + initramfs-tools | linux-initramfs-tool, + linux-headers-amd64 [amd64], + linux-headers-arm64 [arm64], +Pre-Depends: bcachefs-tools (= ${binary:Version}), +Provides: bcachefs-kernel +Description: bcachefs kernel module DKMS source + "The COW filesystem for Linux that won't eat your data". + . + Bcachefs is an advanced new filesystem for Linux, with an emphasis + on reliability and robustness and the complete set of features + one would expect from a modern filesystem. + . + * Copy on write (COW) - like zfs + * Full data and metadata checksumming, for full data integrity: + the filesystem should always detect (and where possible, + recover from) damage; it should never return incorrect data. + * Multiple devices + * Replication + * Erasure coding (incomplete) High performance: doesn't fragment + your writes (like ZFS), no RAID hole + * Caching, data placement + * Compression + * Encryption + * Snapshots + * Nocow mode + * Reflink + * Extended attributes, ACLs, quotas + * Petabyte scalability + * Full online fsck, check and repair (in progress) + * Robustness and rock solid repair. Damage and breakage are a fact of life, + it's not a matter of if, but when. It doesn't matter what happened + to the filesystem: bad hardware, lightning strikes, an errant dd, + you can expect that bcachefs will repair the damage and keep going, + usually with no user intervention required. + . + It's the job of the filesystem to never lose your data: + anything that can be repaired, will be. |