Browse Source

stratis: Add additional binaries

Include all binaries that could be called by the daemon.

Signed-off-by: Tony Asleson <tasleson@redhat.com>
master
Tony Asleson 7 years ago committed by Harald Hoyer
parent
commit
ae9bc0d72f
  1. 4
      modules.d/90stratis/module-setup.sh

4
modules.d/90stratis/module-setup.sh

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@

# called by dracut
check() {
require_binaries stratisd-init thin_check thin_repair || return 1
require_binaries stratisd-init thin_check thin_repair mkfs.xfs xfs_admin xfs_growfs || return 1
return 255
}

@ -20,7 +20,7 @@ installkernel() { @@ -20,7 +20,7 @@ installkernel() {
# called by dracut
install() {

inst_multiple stratisd-init thin_check thin_repair
inst_multiple stratisd-init thin_check thin_repair mkfs.xfs xfs_admin xfs_growfs

if dracut_module_included "systemd"; then
inst_simple "${moddir}/stratisd-init.service" "${systemdsystemunitdir}/stratisd-init.service"

Loading…
Cancel
Save