Package: btrfs-progs
Version: 5.4.1-2
When booting a kernel with BTRFS builtin (not as module) the initramfs
fails to correctly
chttps://talpidae.net/roundcube/?_task=mail&_action=compose&_id=804132815e8d2a15ae439#all
the required "btrfs dev scan".
That is due to the call to "modprobe btrfs" failing and thus cancelling
the premount script early without properly discovering the devices.
I would suggest changing
btrfs-progs-5.4.1-2/debian/btrfs-progs/usr/share/initramfs-tools/scripts/local-premount/btrfs
line 21 as follows:
-modprobe btrfs
+modprobe btrfs || true
This will ensure compatibility with custom kernels and still report an
error in case the module is not present (when btrfs device scan is
called).
Thank you!