specfile: require /sbin/switch_root and turn on switch_root generation for F12
authorHarald Hoyer <harald@redhat.com>
Thu, 2 Jul 2009 09:33:34 +0000 (11:33 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 2 Jul 2009 09:47:32 +0000 (11:47 +0200)
dracut.spec

index 5b287368ee1ae289c8adf2e784d094a572a645f4..a02075e40aee94981d4d802595225020aaa1cc1b 100644 (file)
@@ -1,7 +1,7 @@
 %if 0%{?fedora} < 12
 %define with_switch_root 1
 %else
-%define with_switch_root 0
+%define with_switch_root 1
 %endif
 
 %if %{defined gittag}
@@ -44,6 +44,7 @@ Requires: kbd
 %endif
 
 %if ! 0%{?with_switch_root}
+Requires: /sbin/switch_root
 BuildArch: noarch
 %endif