Skip to content

Commit 79f9d9e

Browse files
aafeijoo-susejohannbg
authored andcommitted
fix(lvm): add missing grep requirement
Since commit 7ffc5e38 lvm_scan.sh needs grep.
1 parent a7a4b76 commit 79f9d9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules.d/90lvm/module-setup.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# called by dracut
44
check() {
55
# No point trying to support lvm if the binaries are missing
6-
require_binaries lvm || return 1
6+
require_binaries lvm grep || return 1
77

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

4949
# called by dracut
5050
install() {
51-
inst lvm
51+
inst_multiple lvm grep
5252

5353
if [[ $hostonly_cmdline == "yes" ]]; then
5454
local _lvmconf

0 commit comments

Comments
 (0)