|
Harald Hoyer |
9d5d75 |
From ae9bc0d72ffea2c960c95d7b705b1b76ae53d692 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
9d5d75 |
From: Tony Asleson <tasleson@redhat.com>
|
|
Harald Hoyer |
9d5d75 |
Date: Thu, 23 Aug 2018 15:08:59 -0500
|
|
Harald Hoyer |
9d5d75 |
Subject: [PATCH] stratis: Add additional binaries
|
|
Harald Hoyer |
9d5d75 |
|
|
Harald Hoyer |
9d5d75 |
Include all binaries that could be called by the daemon.
|
|
Harald Hoyer |
9d5d75 |
|
|
Harald Hoyer |
9d5d75 |
Signed-off-by: Tony Asleson <tasleson@redhat.com>
|
|
Harald Hoyer |
9d5d75 |
---
|
|
Harald Hoyer |
9d5d75 |
modules.d/90stratis/module-setup.sh | 4 ++--
|
|
Harald Hoyer |
9d5d75 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
Harald Hoyer |
9d5d75 |
|
|
Harald Hoyer |
9d5d75 |
diff --git a/modules.d/90stratis/module-setup.sh b/modules.d/90stratis/module-setup.sh
|
|
Harald Hoyer |
9d5d75 |
index 2787b63b..29f0765b 100755
|
|
Harald Hoyer |
9d5d75 |
--- a/modules.d/90stratis/module-setup.sh
|
|
Harald Hoyer |
9d5d75 |
+++ b/modules.d/90stratis/module-setup.sh
|
|
Harald Hoyer |
9d5d75 |
@@ -2,7 +2,7 @@
|
|
Harald Hoyer |
9d5d75 |
|
|
Harald Hoyer |
9d5d75 |
# called by dracut
|
|
Harald Hoyer |
9d5d75 |
check() {
|
|
Harald Hoyer |
9d5d75 |
- require_binaries stratisd-init thin_check thin_repair || return 1
|
|
Harald Hoyer |
9d5d75 |
+ require_binaries stratisd-init thin_check thin_repair mkfs.xfs xfs_admin xfs_growfs || return 1
|
|
Harald Hoyer |
9d5d75 |
return 255
|
|
Harald Hoyer |
9d5d75 |
}
|
|
Harald Hoyer |
9d5d75 |
|
|
Harald Hoyer |
9d5d75 |
@@ -20,7 +20,7 @@ installkernel() {
|
|
Harald Hoyer |
9d5d75 |
# called by dracut
|
|
Harald Hoyer |
9d5d75 |
install() {
|
|
Harald Hoyer |
9d5d75 |
|
|
Harald Hoyer |
9d5d75 |
- inst_multiple stratisd-init thin_check thin_repair
|
|
Harald Hoyer |
9d5d75 |
+ inst_multiple stratisd-init thin_check thin_repair mkfs.xfs xfs_admin xfs_growfs
|
|
Harald Hoyer |
9d5d75 |
|
|
Harald Hoyer |
9d5d75 |
if dracut_module_included "systemd"; then
|
|
Harald Hoyer |
9d5d75 |
inst_simple "${moddir}/stratisd-init.service" "${systemdsystemunitdir}/stratisd-init.service"
|
|
Harald Hoyer |
9d5d75 |
|