main/postmarketos-initramfs: add support for multi-device btrfs
This change fixes booting with a multi-device btrfs volume as root filesystem. A multi-device btrfs volume will find all partitions or devices automatically when mounted, but this only works if btrfs device scan
was run beforehand.
This adds a call to btrfs device scan
before mounting if the root filesystem is btrfs
.
The command will only run for btrfs root filesystems, so I consider this change fairly safe.
Fixes: #3617 (closed)
Merge request reports
Activity
- Resolved by Administrator
depending on how long this takes to run, maybe we can just run it unconditionally? we should time it on a few different devices and see.
By Caleb Connolly on 2024-09-11T19:59:49
Edited by Ghost User
added initramfs label
Would you mind rebasing on master and taking a look at the CI failures? Specifically, this file is indented with tab and not spaces (use editorconfig to have your editor do it as expected automatically), and the pkgrel of main/postmarketos-initramfs needs to be bumped.
Thank you very much for the MR (and related lightning talk at FrOSCon!)
By Oliver Smith on 2024-09-11T19:59:49
added 1416 commits
-
124980c8...8bd95745 - 1415 commits from branch
master
- a1aae27e - main/postmarketos-initramfs: add support for multi-device btrfs
-
124980c8...8bd95745 - 1415 commits from branch
mentioned in issue #3617 (closed)
added 1 commit
- 4d30175a - main/postmarketos-initramfs: add support for multi-device btrfs
assigned to @caleb
mentioned in commit 4dc833ab
added 35 commits
-
4d30175a...e0188360 - 34 commits from branch
master
- 4dc833ab - main/postmarketos-initramfs: add support for multi-device btrfs
-
4d30175a...e0188360 - 34 commits from branch
enabled an automatic merge when all merge checks for 4dc833ab pass