]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
stratis: Add additional binaries
authorTony Asleson <tasleson@redhat.com>
Thu, 23 Aug 2018 20:08:59 +0000 (15:08 -0500)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 24 Aug 2018 06:46:13 +0000 (08:46 +0200)
Include all binaries that could be called by the daemon.

Signed-off-by: Tony Asleson <tasleson@redhat.com>
modules.d/90stratis/module-setup.sh

index 2787b63b37d3ff9a355a56a044771ca76b2464e4..29f0765b23a939c9130b0ca977b6eb6810690929 100755 (executable)
@@ -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() {
 # 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"