From 1d4d806c8b58a97f6ce1e125ba10e7d43b26d2a5 Mon Sep 17 00:00:00 2001 From: Martin Cermak Date: Wed, 30 May 2018 13:54:21 +0200 Subject: [PATCH] Fix the boot time probing feature by updating dracut binary location. --- systemtap.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemtap.spec b/systemtap.spec index eba5ea5d2..4392b1be6 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -67,7 +67,7 @@ %define dracutstap %{_prefix}/share/dracut/modules.d/99stap %endif -%if 0%{?rhel} >= 6 +%if 0%{?rhel} == 6 || 0%{?rhel} == 7 %define dracutbindir /sbin %else %define dracutbindir %{_bindir} -- 2.43.5