From 641eae0f5affc811136f836730285c7ed51a7db0 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 26 Oct 2009 15:36:23 +0100 Subject: [PATCH] dracut.spec: reverse switch_root logic --- dracut.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dracut.spec b/dracut.spec index bf6e61b1..304ad049 100644 --- a/dracut.spec +++ b/dracut.spec @@ -1,6 +1,10 @@ -%if 0%{?fedora} < 12 %define with_switch_root 1 -%else + +%if 0%{?fedora} > 11 +%define with_switch_root 0 +%endif + +%if 0%{?rhel} > 5 %define with_switch_root 0 %endif