Skip to content

Commit

Permalink
fix(lvm): add missing grep requirement
Browse files Browse the repository at this point in the history
Since commit 7ffc5e38
lvm_scan.sh needs grep.
  • Loading branch information
aafeijoo-suse authored and johannbg committed Apr 11, 2022
1 parent a7a4b76 commit 79f9d9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules.d/90lvm/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# called by dracut
check() {
# No point trying to support lvm if the binaries are missing
require_binaries lvm || return 1
require_binaries lvm grep || return 1

[[ $hostonly ]] || [[ $mount_needs ]] && {
for fs in "${host_fs_types[@]}"; do
Expand Down Expand Up @@ -48,7 +48,7 @@ installkernel() {

# called by dracut
install() {
inst lvm
inst_multiple lvm grep

if [[ $hostonly_cmdline == "yes" ]]; then
local _lvmconf
Expand Down

0 comments on commit 79f9d9e

Please sign in to comment.