Blame SOURCES/0021-btrfs-use-inst_hook-to-install-the-timeout-hook.patch

a56a5e
From 6ea78f9f4eb405e6743e8be67836f9134d11e77b Mon Sep 17 00:00:00 2001
90b079
From: Harald Hoyer <harald@redhat.com>
90b079
Date: Mon, 7 Oct 2013 15:06:50 +0200
90b079
Subject: [PATCH] btrfs: use inst_hook to install the timeout hook
90b079
90b079
---
90b079
 modules.d/90btrfs/module-setup.sh | 3 +--
90b079
 1 file changed, 1 insertion(+), 2 deletions(-)
90b079
90b079
diff --git a/modules.d/90btrfs/module-setup.sh b/modules.d/90btrfs/module-setup.sh
1755ca
index 638a0505..a2805946 100755
90b079
--- a/modules.d/90btrfs/module-setup.sh
90b079
+++ b/modules.d/90btrfs/module-setup.sh
90b079
@@ -39,8 +39,7 @@ install() {
90b079
     fi
90b079
 
90b079
     if ! dracut_module_included "systemd"; then
90b079
-        inst_script "$moddir/btrfs_timeout.sh" \
90b079
-            /usr/lib/dracut/hooks/initqueue/timeout/btrfs_timeout.sh
90b079
+        inst_hook initqueue/timeout 10 "$moddir/btrfs_timeout.sh"
90b079
     fi
90b079
 
90b079
     inst_multiple -o btrfsck btrfs-zero-log