]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut.spec: reverse switch_root logic
authorHarald Hoyer <harald@redhat.com>
Mon, 26 Oct 2009 14:36:23 +0000 (15:36 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 27 Oct 2009 15:02:55 +0000 (16:02 +0100)
dracut.spec

index bf6e61b1475153ac8682d60703ca5813510791c4..304ad049fc11f4c8304ca97d1598a48e8af9317f 100644 (file)
@@ -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