1966 Commits

Author SHA1 Message Date
Roman Lebedev
cb80f2be96
Deb PPA: some more eatmydata musings that i missed in earlier change 2025-09-28 12:30:13 +03:00
Roman Lebedev
8e64a3b967
Deb PPA: consistently install full gnupg, not just gpg 2025-09-28 11:47:30 +03:00
Roman Lebedev
9e26cc289c
Debian: add reprotest job
The packages appear to be generally reproducible,
BUT only if using the same build directory.
I do not yet know why.
2025-09-28 11:46:59 +03:00
koverstreet
35052fc376
Merge pull request #437 from himikof/show_super_fixes
Small improvements in show-super output
2025-09-27 22:24:08 -04:00
Nikita Ofitserov
fe26d257a8 cmd_show_super: Fix ghost devices in the output
Fixes https://github.com/koverstreet/bcachefs/issues/942.
Fixes: 6704e252 ("cmd_show_super: Look up and print names of member devices")

Signed-off-by: Nikita Ofitserov <himikof@gmail.com>
2025-09-28 03:27:39 +03:00
Nikita Ofitserov
0a1ad84c02 cmd_show_super: Print backing file as the loop device "model"
Signed-off-by: Nikita Ofitserov <himikof@gmail.com>
2025-09-28 03:18:34 +03:00
Nikita Ofitserov
a4f2c56ed4 cmd_show_super: Fix device model printing
Make device partition handling independent of the current directory and simplify code.

Use better model placeholders: "(image file)" and "(unknown model)".

Signed-off-by: Nikita Ofitserov <himikof@gmail.com>
2025-09-28 03:12:22 +03:00
koverstreet
608ccdd381
Merge pull request #435 from LebedevRI/debian
Some checks failed
build / bcachefs-tools-msrv (push) Has been cancelled
.deb build orchestrator / source-only (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:forky], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:forky], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:trixie], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:trixie], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:unstable], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:unstable], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:plucky], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:plucky], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:questing], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:questing], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / publish (push) Has been cancelled
update-flake-lock / lockfile (push) Has been cancelled
Nix Flake actions / nix-matrix (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled
Debian: ensure smooth upgrade paths when files are moved between packages
2025-09-27 15:20:41 -05:00
Roman Lebedev
b907189f9a
Deb PPA: use eatmydata, bump initial apt timeout 2025-09-27 23:01:49 +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
Kent Overstreet
6e78e3c90f update .gitignore
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-27 14:51:06 -04:00
koverstreet
2820d79b00
Merge pull request #430 from KrzysztofHajdamowicz/master
bcachefs-kernel-dkms: Accept pve-headers as one of alternatives to linux-headers
2025-09-27 12:39:05 -05:00
Kent Overstreet
52995d73ed v1.31.5
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
v1.31.5
2025-09-26 21:22:55 -04:00
Kent Overstreet
19c32bc7a2 Update bcachefs sources to b0e2c6125656 bcachefs: Fix accounting_read() skip past non-in-mem keys
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-26 21:21:41 -04:00
Kent Overstreet
9869945621 Update bcachefs sources to 32ed7123aeac bcachefs: Fix accounting_read() skip past non-in-mem keys
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-26 20:43:12 -04:00
koverstreet
069cc8e957
Merge pull request #431 from LebedevRI/debian
Deb PPA: change how we produce README
2025-09-26 16:19:28 -05:00
Roman Lebedev
6380373800
Deb PPA: change how we produce README 2025-09-26 23:59:44 +03:00
Kent Overstreet
8c2f32e5da cmd_dump: Dump entire btree nodes
Make dump a bit less fragile.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-26 12:43:50 -04: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
Kent Overstreet
8469f974d0 v1.31.4
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
v1.31.4
2025-09-26 03:57:29 -04:00
Thomas Mühlbacher
32faba26b8 refactor(nix): use versionCheckHook
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-26 01:15:21 -04:00
Thomas Mühlbacher
9eb3e6c076 refactor(nix): move out build into separate file
flake.nix is getting too big and this makes it easier to understand what
is going on with e.g. callPackage.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-26 01:15:15 -04:00
Thomas Mühlbacher
126829decf refactor(nix): rm no longer needed build decls
This is now handled by crane for cross builds on its own.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-26 01:15:08 -04:00
Thomas Mühlbacher
4c3f66cdaa test(nix): add aarch64 cross build to checks
Just to have a real cross build in checks by default (unless you are
natively on aarch64).

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-26 01:14:59 -04:00
Thomas Mühlbacher
35927fb70a flake.lock: Update
Flake lock file updates:

• Updated input 'crane':
    'github:ipetkov/crane/d599ae4847e7f87603e7082d73ca673aa93c916d' (2025-09-06)
  → 'github:ipetkov/crane/02063302383f43237602f5aea5a67766b08e4787' (2025-09-24)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/ab0f3607a6c7486ea22229b92ed2d355f1482ee0' (2025-09-10)
  → 'github:nixos/nixpkgs/554be6495561ff07b6c724047bdd7e0716aa7b46' (2025-09-21)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/591c5ae84f066bdfc9797b217df392d58eafd088' (2025-09-12)
  → 'github:oxalica/rust-overlay/b12ed88d8d33d4f3cbc842bf29fad93bb1437299' (2025-09-24)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/1aabc6c05ccbcbf4a635fb7a90400e44282f61c4' (2025-08-31)
  → 'github:numtide/treefmt-nix/5eda4ee8121f97b218f7cc73f5172098d458f1d1' (2025-09-24)

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-26 01:14:51 -04:00
Thomas Mühlbacher
c6050473c4 refactor(nix): rm now unused imports
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-26 01:14:46 -04:00
koverstreet
8194e2762c
Merge pull request #427 from LebedevRI/debian
Misci Deb PPA changes
2025-09-25 22:34:35 -05:00
Kent Overstreet
61a811172a Update bcachefs sources to ceaf9ded6efd bcachefs: Fix a FORTIFY_SOURCE splat
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-25 17:14:42 -04:00
Roman Lebedev
d13164cb1f
Deb PPA: some more cleanup in buildd job 2025-09-25 23:40:25 +03:00
Roman Lebedev
d21d263698
Deb PPA: run qemu on all threads, not just one 2025-09-25 21:50:53 +03: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
c4b4cb66ec
deb PPA: re-enable trixie
As noted in IRC, one could use a custom-compiled newer kernel,
so it's useful to still provide tools for the dist.

But disable autopkgtest, since dkms is not usable out-of-the-box.
2025-09-25 20:03:07 +03:00
Kent Overstreet
346618c73b v1.31.3
Some checks failed
build / bcachefs-tools-msrv (push) Has been cancelled
.deb build orchestrator / source-only (push) Has been cancelled
Nix Flake actions / nix-matrix (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:forky], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:forky], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:unstable], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:unstable], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:plucky], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:plucky], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:questing], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:questing], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / publish (push) Has been cancelled
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
v1.31.3
2025-09-24 19:04:47 -04:00
Kent Overstreet
7aa46ecf44 Update bcachefs sources to 39609901d28e bcachefs: Makefile tweaks to support DKMS
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-24 18:55:05 -04:00
koverstreet
e07734afd1
Merge pull request #424 from LebedevRI/revert-423-dkms-parallel
Revert "DKMS: parallelize compilation"
2025-09-24 17:25:18 -05:00
Roman Lebedev
4f17262a18
Revert "DKMS: parallelize compilation" 2025-09-25 01:02:46 +03:00
koverstreet
55763c6aab
Merge pull request #423 from LebedevRI/dkms-parallel
DKMS: parallelize compilation
2025-09-24 15:46:25 -05:00
Roman Lebedev
2406a842d1
DKMS: parallelize compilation 2025-09-24 23:35:08 +03:00
koverstreet
dd00a80522
Merge pull request #421 from LebedevRI/debian
Debian / PPA: add autopkgtests, run them for debian amd64 jobs
2025-09-24 14:58:23 -05: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
koverstreet
72b40537af
Merge pull request #422 from ElvishJerricco/push-yqlnymynnxyk
dkms: Fix BCACHEFS_DKMS definition
2025-09-24 14:49:41 -05:00
Will Fancher
b80ca6c308 dkms: Fix BCACHEFS_DKMS definition 2025-09-24 15:27:31 -04:00
koverstreet
9108a3727a
Merge pull request #419 from ElvishJerricco/push-ounmmyvyxzpx
dkms: Use relative path for TRACE_INCLUDE_PATH
2025-09-24 02:23:25 -04:00
Will Fancher
ff51fb28cf dkms: Use relative path for TRACE_INCLUDE_PATH
install_dkms currently patches the absolute path of DKMSDIR into
trace.h, but this is fragile. For instance, if the DKMSDIR path
contains the word "linux", then the __stringify in define_trace.h
replaces it with its macro expansion "1" and breaks the path. It's
better to just keep it relative.

@koverstreet will have to figure out how to merge the libbcachefs part
of this correctly.
2025-09-24 02:19:33 -04:00
Kent Overstreet
feb7049a58 Update bcachefs sources to 115e433659fe bcachefs: Fix double-free of journal_keys key 2025-09-23 17:29:34 -04:00
Kent Overstreet
4265385fb5 dkms: export CONFIG_BCACHEFS_DKMS
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-23 17:29:21 -04:00
Kent Overstreet
fb0c7d250d fixup! tweak debian repo readme 2025-09-23 15:41:04 -04: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
koverstreet
38e9d8e7f9
Merge pull request #418 from LebedevRI/debian
Deb PPA: unbreak publish job (it was the backticks), and reorder some line
2025-09-23 08:53:28 -04:00
Roman Lebedev
47794b5f29
Deb PPA: unbreak publish job (it was the backticks), and reorder some lines 2025-09-23 13:30:07 +03:00