Kent Overstreet
7d5817d9c2
Changelog for 1.33
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-12-04 12:10:04 -05:00
Roman Lebedev
e06109e9b1
Debian: don't try to package fuse stuff
2025-11-21 17:18:39 +03:00
Roman Lebedev
9c4a967654
Debian: cargo vendor: always version the dependencies
2025-10-13 23:36:22 +03:00
Roman Lebedev
21d22677c8
Debian: specify version requirement on libaio
2025-10-13 23:36:22 +03:00
Roman Lebedev
015845f3e4
Debian: cross-build support
...
For debian distros, we're lucky and cross-build *now* just works,
and is as fast as native amd64 builds.
For ubuntu, things are ugly. On questing it currently does not work,
(but maybe they will fix it later), however on plucky it just doesn't work.
So i'm just disabling ppc64el ubuntu builds
since full cross-compilation is really slow,
but if someone actually needs them, those can be reenabled...
2025-10-06 14:45:23 +03:00
Roman Lebedev
c263923e0d
Debian: document that debug info flags are unapplicable for us
2025-10-05 21:57:16 +03:00
Roman Lebedev
766f89f0f2
Deb PPA: use vendor-filterer
2025-10-05 21:57:16 +03:00
Roman Lebedev
07bf2c16cb
Deb PPA rewrite, adding packages for ppc64el
...
TLDR: instead of running the entirety of the job in the container,
start a detached container, and manually run each step
in detached container. This allows to run stuff outside of container.
2025-10-05 16:38:42 +03:00
Roman Lebedev
92515aced5
Debian: ensure smooth upgrade paths when files are moved between packages
...
Upgrade path from bcachefs-tools 1.31.2 -> 1.31.5 is broken,
stuff was moved from -dkms package into main tools package,
and that famously does not work out of the box.
Ensure that any incompatible bcachefs-kernel-dkms package version
is truly marked as being replaced.
See https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces
See https://wiki.debian.org/PackageTransition , case #10
2025-09-27 22:25:32 +03:00
Krzysztof Hajdamowicz
476069fbb4
bcachefs-kernel-dkms: Accept pve-headers as one of alternatives to linux-headers
2025-09-26 10:36:49 +02:00
Roman Lebedev
912676097b
Debian: tune linux-headers-* dep for bcachefs-kernel-dkms
...
1. linux-headers-generic isn't the right dependency on debian,
there's also linux-headers-rt and linux-headers-cloud
2. the virtual package is unversioned, you can't ensure
that you have new-enough headers package installed,
and debian does not seem to care:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1116120
2025-09-25 20:23:09 +03:00
Roman Lebedev
b6475f7ee9
Debian / PPA: add autopkgtests, run them for debian amd64 jobs
...
These tests require qemu, and it's somewhat tricky,
i haven't quite figured out the incantation
that works for Github's aarch64 workers.
I'm also unsure how to make them work for ubuntu builds.
Since debian stable's kernel is too old, as discussed,
i'm disabling PPA for it.
2025-09-24 22:54:26 +03:00
Kent Overstreet
ffc8979b8b
Move initramfs scripts back to main bcachefs-tools package
...
If bcachefs goes back upstream or a user is compiling from source they
won't need the dkms package, but they will need the initramfs hooks.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-23 10:31:54 -04:00
Roman Lebedev
9a6be35984
Debian packaging: depend on linux-headers-generic, it will pull in the right one
2025-09-20 21:19:45 +03:00
Kent Overstreet
3755975ce8
v1.31.2
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-19 02:30:50 -04:00
Roman Lebedev
9674212ba6
More Debian / Ubuntu / PPA stuff
...
Signed-off-by: Roman Lebedev <lebedev.ri@gmail.com>
2025-09-19 08:02:34 +03:00
Roman Lebedev
3708f1f20a
Debian: split DKMS into separate binary package
...
The package deps seems to be correct,
and the mod does seem to get built
and placed into initramfs.
```
$ eatmydata sudo dpkg -i bcachefs-tools_1.31.3_amd64.deb
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
(Reading database ... 534575 files and directories currently installed.)
Preparing to unpack bcachefs-tools_1.31.3_amd64.deb ...
Unpacking bcachefs-tools (1:1.31.3) over (1:1.31.3) ...
Setting up bcachefs-tools (1:1.31.3) ...
Processing triggers for man-db (2.13.1-1) ...
$ eatmydata sudo dpkg -i bcachefs-kernel-dkms_1.31.3_amd64.deb
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
(Reading database ... 552274 files and directories currently installed.)
Preparing to unpack bcachefs-kernel-dkms_1.31.3_amd64.deb ...
Unpacking bcachefs-kernel-dkms (1:1.31.3) ...
Setting up bcachefs-kernel-dkms (1:1.31.3) ...
Loading new bcachefs/1.31.1 DKMS files...
Building for 6.16.7+deb14-amd64
Building initial module bcachefs/1.31.1 for 6.16.7+deb14-amd64
Sign command: /lib/modules/6.16.7+deb14-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Certificate or key are missing, generating self signed certificate for MOK...
Building module(s)...... done.
Signing module /var/lib/dkms/bcachefs/1.31.1/build/src/fs/bcachefs/bcachefs.ko
Found pre-existing /lib/modules/6.16.7+deb14-amd64/kernel/fs/bcachefs/bcachefs.ko.xz, archiving for uninstallation
Installing /lib/modules/6.16.7+deb14-amd64/updates/dkms/bcachefs.ko.xz
Running depmod.... done.
Processing triggers for initramfs-tools (0.150) ...
update-initramfs: Generating /boot/initrd.img-6.16.7+deb14-amd64
update-initramfs: Generating /boot/initrd.img-6.12.38+deb13-amd64
$ lsinitramfs -l /boot/initrd.img-6.16.7+deb14-amd64 | grep bcachefs
-rw-r--r-- 1 root root 1027492 Sep 18 04:15 usr/lib/modules/6.16.7+deb14-amd64/updates/dkms/bcachefs.ko.xz
-rwxr-xr-x 1 root root 2042 Sep 18 03:01 scripts/local-premount/bcachefs
-rwxr-xr-x 1 root root 3791344 Sep 18 03:01 usr/sbin/bcachefs
lrwxrwxrwx 1 root root 8 Sep 18 04:15 usr/sbin/mount.bcachefs -> bcachefs
```
Signed-off-by: Roman Lebedev <lebedev.ri@gmail.com>
2025-09-18 04:56:35 +03:00
Kent Overstreet
2303fad2be
v1.31.1
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-17 18:31:49 -04:00
Kent Overstreet
7d37ce6485
debian: fix dkms
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-17 00:18:45 -04:00
Kent Overstreet
525d7f816f
debian: export PREFIX
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-17 00:03:03 -04:00
Kent Overstreet
75fcddb7a2
Makefile: install DKMS
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-16 23:47:30 -04:00
Roman Lebedev
a06a4bb5ea
debian package vendoring and PPA
2025-09-16 20:49:02 +03:00
Kent Overstreet
612cb935b4
Debian updates
...
Pulled from last Debian bcachefs-tools package, plus dkms hook.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-11 18:13:49 -04:00
Igor Velkov
e1c51c4231
change version number for .deb package
2025-07-20 21:53:32 +03:00
Igor Velkov
5551e45735
add version change for debian package
...
fix wrong date format in previos deb version record
Signed-off-by: Igor Velkov <iav@iav.lv>
2025-04-19 03:34:52 +03:00
Igor Velkov
32d4213924
Add changelog record into debian package to set .deb v1.25.1
...
Signed-off-by: Igor Velkov <iav@iav.lv>
2025-04-13 10:13:49 -04:00
Kent Overstreet
9020d202a4
kill old python tests
...
these were never used, kill a dependency
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-07-15 23:34:58 -04:00
Kent Overstreet
e084e9f65b
update debian/ from upstream
...
'make deb' works
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-07-15 21:23:38 -04:00
Andrea Gelmini
18f9526c45
treewide, docs: fix typos
...
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
[remove changes to libbcachefs/, linux/, include/, and raid/]
Co-authored-by: Masum Reza <masumrezarock100@gmail.com>
Signed-off-by: Masum Reza <masumrezarock100@gmail.com>
2024-05-29 09:22:09 +05:30
Alexander Fougner
4c5dcb018d
fix packaging
...
- make deb fails with dh: error: Unknown sequence --with
(options should not come before the sequence)
- fix deb build deps
- add missing rpm files
Signed-off-by: Alexander Fougner <fougner89@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-12-10 12:16:00 -05:00
Darrick J. Wong
74753de989
fsck: add a service to schedule and run bcachefsck@ services
...
Create a script that looks for mounted bcachefs filesystems and tries to
run as many of them in parallel as possible without two different
scrubbers hitting the same low level block device.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
2023-12-07 11:57:36 -05:00
Darrick J. Wong
fbfdd05ac5
fsck: add systemd service definitions for automatic online service
...
Add some systemd service files so that bcachefs can automatically fsck
mounted filesystems in the background. Hopefully with minimal
disruption to frontend operations.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
2023-12-07 11:57:36 -05:00
Alexander Fougner
61b25f2dd2
Add rust toolchain to debian build-deps
...
Fixes building the .deb
- also add missing libudev to debian build deps
Signed-off-by: Alexander Fougner <fougner89@gmail.com>
2023-03-05 05:37:08 -05:00
Kent Overstreet
62839683e8
Update email address
...
This changes linux-bcache@vger.kernel.org references to the correct
mailing list (linux-bcachefs@vger.kernel.org ).
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-05-26 15:40:08 -04:00
Chris Webb
49923376d1
Use scrypt from libsodium
...
bcachefs-tools has both libscrypt and libsodium as build dependencies,
but libsodium already includes the same scrypt implementation as libscrypt,
originally written by Colin Percival.
Use the libsodium copy, dropping the extra libscrypt dependency.
Explicitly adopt the default scrypt N, r and p values from libscrypt to
avoid unintended changes in the default work parameters for bcachefs.
Signed-off-by: Chris Webb <chris@arachsys.com>
2021-10-23 12:16:08 -04:00
Igor Velkov
6e46ae07fa
add missing python3, python3-docutils dependency
2021-10-18 17:41:11 -04:00
Tim Schlueter
854f7e2dd6
Updated homepage, repo, and watch urls for debian package
2019-01-14 00:42:42 -08:00
Tim Schlueter
f35d14415d
libattr is no longer necessary
2019-01-14 00:42:42 -08:00
Tim Schlueter
e64e781bf1
Update initramfs after .deb install or uninstall
...
Also removed the unnecessary debian/bcachefs-tools.dirs file
2019-01-13 18:53:37 -08:00
Kent Overstreet
807abf36c1
Update bcachefs sources to e99d29e402 bcachefs: zstd support, compression refactoring
2018-02-16 18:13:24 -05:00
Tim Schlueter
3c85d9f009
Set debian/compat to 10
...
* Compat level 10 allows parallel builds by default.
* Also changed debuild to use short arguments.
* Long arguments weren't supported until dpkg-dev 1.18.8.
2018-02-11 15:32:34 -08:00
Tim Schlueter
8544024bc1
Set PREFIX to /usr for .deb builds
2018-02-11 15:31:38 -08:00
Kent Overstreet
a3ec9b0a01
add a missing build dependency
2018-02-10 04:45:03 -05:00
Kent Overstreet
5ec39af8ea
Rename from bcache-tools to bcachefs-tools
2017-03-19 17:31:47 -08:00
Kent Overstreet
c3844b0b7f
cmd_migrate: fix xattrs
2017-03-10 11:48:39 -09:00
Kent Overstreet
171ee48e57
Delete more unused shim code, update bcache code
2017-03-03 23:17:31 -09:00
Kent Overstreet
b33fc8298f
bcache in userspace; userspace fsck
2017-01-20 09:07:08 -09:00
Kent Overstreet
f4eba6559b
finish ripping out libnih
2016-10-06 07:19:55 -08:00
Kent Overstreet
bca2b16e55
Documentation/makefile work
2016-08-28 18:00:54 -08:00
Kent Overstreet
dda0923eeb
debify
2016-04-25 17:14:11 -08:00