From: Harald Hoyer Date: Mon, 26 Oct 2009 14:36:23 +0000 (+0100) Subject: dracut.spec: reverse switch_root logic X-Git-Tag: 003~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=641eae0f5affc811136f836730285c7ed51a7db0;p=thirdparty%2Fdracut.git dracut.spec: reverse switch_root logic --- diff --git a/dracut.spec b/dracut.spec index bf6e61b14..304ad049f 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