Browse Source

multipath: require kpartx binary

multipath requires kpartx to activate device mapper.
But kpartx is only a recommend dependency.

Check for kpartx's existent first.

Signed-off-by: Doan Tran Cong Danh <congdanhqx@gmail.com>
master
Doan Tran Cong Danh 5 years ago committed by Daniel Molkentin
parent
commit
cf31ed2ae6
  1. 1
      modules.d/90multipath/module-setup.sh

1
modules.d/90multipath/module-setup.sh

@ -29,6 +29,7 @@ check() { @@ -29,6 +29,7 @@ check() {

# if there's no multipath binary, no go.
require_binaries multipath || return 1
require_binaries kpartx || return 1

return 0
}

Loading…
Cancel
Save