Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dm): add rootfs-block as a dependency to dm module #2245

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules.d/90crypt/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ check() {
# called by dracut
depends() {
local deps
deps="dm rootfs-block"
deps="dm"
if [[ $hostonly && -f "$dracutsysrootdir"/etc/crypttab ]]; then
if grep -q -e "fido2-device=" -e "fido2-cid=" "$dracutsysrootdir"/etc/crypttab; then
deps+=" fido2"
Expand Down
1 change: 1 addition & 0 deletions modules.d/90dm/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ check() {

# called by dracut
depends() {
echo rootfs-block
return 0
}

Expand Down
2 changes: 1 addition & 1 deletion modules.d/90dmraid/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ check() {

# called by dracut
depends() {
echo dm rootfs-block
echo dm
return 0
}

Expand Down
2 changes: 1 addition & 1 deletion modules.d/90dmsquash-live/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ check() {
depends() {
# if dmsetup is not installed, then we cannot support fedora/red hat
# style live images
echo dm rootfs-block img-lib overlayfs
echo dm img-lib overlayfs
return 0
}

Expand Down
2 changes: 1 addition & 1 deletion modules.d/90lvm/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ check() {
# called by dracut
depends() {
# We depend on dm_mod being loaded
echo rootfs-block dm
echo dm
return 0
}

Expand Down
1 change: 0 additions & 1 deletion modules.d/90multipath/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ check() {

# called by dracut
depends() {
echo rootfs-block
echo dm
return 0
}
Expand Down
Loading